diff --git a/apps/edr-freight-web/backoffice/src/App.tsx b/apps/edr-freight-web/backoffice/src/App.tsx
index 271d38f61..8e609a26e 100644
--- a/apps/edr-freight-web/backoffice/src/App.tsx
+++ b/apps/edr-freight-web/backoffice/src/App.tsx
@@ -46,12 +46,7 @@ import PaymentsPage from "./pages/payments/PaymentsPage";
import AuditLogsPage from "./pages/audit/AuditLogsPage";
//import EmployeesPage from "./pages/dashboard/user-management/EmployeesPage";
import { RequirePermission } from "./components/auth/RequirePermission";
-import {
- FREIGHT_PERMS,
- isDjiboutiGl,
- isEthiopianGl,
- isSuperAdmin,
-} from "./lib/permissions";
+import { FREIGHT_PERMS } from "./lib/permissions";
import { NO_ACCESS_PATH, resolveLandingPath } from "./lib/landing";
import NoAccessPage from "./pages/NoAccessPage";
import FileUploadSettingsPage from "./pages/documents/FileUploadSettingsPage";
@@ -118,11 +113,8 @@ import SupportInboxPage from "./pages/support/SupportInboxPage";
import {
APP_TITLE,
buildSidebarSections,
- DJ_CLEARANCE_HREF,
- ET_CLEARANCE_HREF,
filterSidebarByPermission,
findActiveSidebarLabel,
- GL_WORKFLOW_PATH_PATTERNS,
} from "@/components/layout/sidebar-sections";
const DashboardShell = () => {
@@ -138,18 +130,6 @@ const DashboardShell = () => {
);
const displayName = user?.name?.en || user?.username || user?.email || "User";
- // GL positions are locked to their single clearance page: if they navigate
- // (or deep-link) anywhere else, send them back to their clearance hub.
- // Super admin is exempt. Allow the clearance path + its detail sub-routes.
- const superAdmin = isSuperAdmin(user);
- const glClearanceHome = !superAdmin
- ? isEthiopianGl(user)
- ? ET_CLEARANCE_HREF
- : isDjiboutiGl(user)
- ? DJ_CLEARANCE_HREF
- : null
- : null;
-
useEffect(() => {
const activeLabel = findActiveSidebarLabel(
location.pathname,
@@ -158,20 +138,9 @@ const DashboardShell = () => {
document.title = activeLabel ? `${activeLabel} | ${APP_TITLE}` : APP_TITLE;
}, [location.pathname, sidebarSections]);
- if (
- glClearanceHome &&
- !location.pathname.startsWith(glClearanceHome) &&
- !GL_WORKFLOW_PATH_PATTERNS.some((re) => re.test(location.pathname))
- ) {
- return ;
- }
-
return (