diff --git a/package.json b/package.json index db18039cfb..2d6e744a6f 100755 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "planet", "license": "AGPL-3.0", - "version": "0.16.62", + "version": "0.16.63", "myplanet": { - "latest": "v0.22.7", - "min": "v0.21.7" + "latest": "v0.22.13", + "min": "v0.21.13" }, "scripts": { "ng": "ng", diff --git a/src/app/home/home-router.module.ts b/src/app/home/home-router.module.ts index 28a7f2105f..00a9d12816 100644 --- a/src/app/home/home-router.module.ts +++ b/src/app/home/home-router.module.ts @@ -23,7 +23,11 @@ const routes: Routes = [ { path: '', component: CommunityComponent }, { path: 'community/:code', component: CommunityComponent }, { path: 'users', loadChildren: () => import('../users/users.module').then(m => m.UsersModule) }, - { path: 'manager', loadChildren: () => import('../manager-dashboard/manager-dashboard.module').then(m => m.ManagerDashboardModule) }, + { + path: 'manager', + loadChildren: () => import('../manager-dashboard/manager-dashboard.module').then(m => m.ManagerDashboardModule), + data: { roles: [ '_admin' ] } + }, { path: 'courses', loadChildren: () => import('../courses/courses.module').then(m => m.CoursesModule) }, { path: 'feedback', loadChildren: () => import('../feedback/feedback.module').then(m => m.FeedbackModule) }, { path: 'resources', loadChildren: () => import('../resources/resources.module').then(m => m.ResourcesModule) },