Skip to content

Commit e37d567

Browse files
Merge branch 'dspace-cris-2024_02_x' into ux-plus-cris-2024_02_x
2 parents 75ad0e5 + 6d62906 commit e37d567

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/app-routes.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import { COMMUNITY_MODULE_PATH } from './community-page/community-page-routing-p
3131
import { authBlockingGuard } from './core/auth/auth-blocking.guard';
3232
import { authenticatedGuard } from './core/auth/authenticated.guard';
3333
import { groupAdministratorGuard } from './core/data/feature-authorization/feature-authorization-guard/group-administrator.guard';
34-
import { siteAdministratorGuard } from './core/data/feature-authorization/feature-authorization-guard/site-administrator.guard';
3534
import { siteRegisterGuard } from './core/data/feature-authorization/feature-authorization-guard/site-register.guard';
3635
import { endUserAgreementCurrentUserGuard } from './core/end-user-agreement/end-user-agreement-current-user.guard';
3736
import { reloadGuard } from './core/reload/reload.guard';
@@ -173,7 +172,7 @@ export const APP_ROUTES: Route[] = [
173172
path: ADMIN_MODULE_PATH,
174173
loadChildren: () => import('./admin/admin-routes')
175174
.then((m) => m.ROUTES),
176-
canActivate: [siteAdministratorGuard, endUserAgreementCurrentUserGuard],
175+
canActivate: [authenticatedGuard, endUserAgreementCurrentUserGuard],
177176
},
178177
{
179178
path: NOTIFICATIONS_MODULE_PATH,

0 commit comments

Comments
 (0)