@@ -24,13 +24,13 @@ import {
2424} from './app-routing-paths' ;
2525import { COLLECTION_MODULE_PATH } from './collection-page/collection-page-routing-paths' ;
2626import { COMMUNITY_MODULE_PATH } from './community-page/community-page-routing-paths' ;
27- import { AuthBlockingGuard } from './core/auth/auth-blocking.guard' ;
28- import { AuthenticatedGuard } from './core/auth/authenticated.guard' ;
27+ import { authBlockingGuard } from './core/auth/auth-blocking.guard' ;
28+ import { authenticatedGuard } from './core/auth/authenticated.guard' ;
2929import { GroupAdministratorGuard } from './core/data/feature-authorization/feature-authorization-guard/group-administrator.guard' ;
3030import { SiteAdministratorGuard } from './core/data/feature-authorization/feature-authorization-guard/site-administrator.guard' ;
3131import { SiteRegisterGuard } from './core/data/feature-authorization/feature-authorization-guard/site-register.guard' ;
3232import { EndUserAgreementCurrentUserGuard } from './core/end-user-agreement/end-user-agreement-current-user.guard' ;
33- import { ReloadGuard } from './core/reload/reload.guard' ;
33+ import { reloadGuard } from './core/reload/reload.guard' ;
3434import { ForgotPasswordCheckGuard } from './core/rest-property/forgot-password-check-guard.guard' ;
3535import { ServerCheckGuard } from './core/server-check/server-check.guard' ;
3636import { ThemedForbiddenComponent } from './forbidden/themed-forbidden.component' ;
@@ -49,7 +49,7 @@ export const APP_ROUTES: Route[] = [
4949 { path : ERROR_PAGE , component : ThemedPageErrorComponent } ,
5050 {
5151 path : '' ,
52- canActivate : [ AuthBlockingGuard ] ,
52+ canActivate : [ authBlockingGuard ] ,
5353 canActivateChild : [ ServerCheckGuard ] ,
5454 resolve : [ menuResolver ] ,
5555 children : [
@@ -58,7 +58,7 @@ export const APP_ROUTES: Route[] = [
5858 path : 'reload/:rnd' ,
5959 component : ThemedPageNotFoundComponent ,
6060 pathMatch : 'full' ,
61- canActivate : [ ReloadGuard ] ,
61+ canActivate : [ reloadGuard ] ,
6262 } ,
6363 {
6464 path : 'home' ,
@@ -139,7 +139,7 @@ export const APP_ROUTES: Route[] = [
139139 loadChildren : ( ) => import ( './my-dspace-page/my-dspace-page-routes' )
140140 . then ( ( m ) => m . ROUTES ) ,
141141 providers : [ provideSuggestionNotificationsState ( ) ] ,
142- canActivate : [ AuthenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
142+ canActivate : [ authenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
143143 } ,
144144 {
145145 path : 'search' ,
@@ -164,7 +164,7 @@ export const APP_ROUTES: Route[] = [
164164 loadChildren : ( ) => import ( './quality-assurance-notifications-pages/notifications-pages-routes' )
165165 . then ( ( m ) => m . ROUTES ) ,
166166 providers : [ provideSuggestionNotificationsState ( ) ] ,
167- canActivate : [ AuthenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
167+ canActivate : [ authenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
168168 } ,
169169 {
170170 path : 'login' ,
@@ -208,20 +208,20 @@ export const APP_ROUTES: Route[] = [
208208 loadChildren : ( ) => import ( './profile-page/profile-page-routes' )
209209 . then ( ( m ) => m . ROUTES ) ,
210210 providers : [ provideSuggestionNotificationsState ( ) ] ,
211- canActivate : [ AuthenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
211+ canActivate : [ authenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
212212 } ,
213213 {
214214 path : PROCESS_MODULE_PATH ,
215215 loadChildren : ( ) => import ( './process-page/process-page-routes' )
216216 . then ( ( m ) => m . ROUTES ) ,
217- canActivate : [ AuthenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
217+ canActivate : [ authenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
218218 } ,
219219 {
220220 path : SUGGESTION_MODULE_PATH ,
221221 loadChildren : ( ) => import ( './suggestions-page/suggestions-page-routes' )
222222 . then ( ( m ) => m . ROUTES ) ,
223223 providers : [ provideSuggestionNotificationsState ( ) ] ,
224- canActivate : [ AuthenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
224+ canActivate : [ authenticatedGuard , ...mapToCanActivate ( [ EndUserAgreementCurrentUserGuard ] ) ] ,
225225 } ,
226226 {
227227 path : INFO_MODULE_PATH ,
@@ -256,7 +256,7 @@ export const APP_ROUTES: Route[] = [
256256 path : 'subscriptions' ,
257257 loadChildren : ( ) => import ( './subscriptions-page/subscriptions-page-routes' )
258258 . then ( ( m ) => m . ROUTES ) ,
259- canActivate : [ AuthenticatedGuard ] ,
259+ canActivate : [ authenticatedGuard ] ,
260260 } ,
261261 { path : '**' , pathMatch : 'full' , component : ThemedPageNotFoundComponent } ,
262262 ] ,
0 commit comments