File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
libs/shared/lib/containers/auth/restricted-page Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 7
7
LazyLoadedComponent ,
8
8
PlatformRoute ,
9
9
Rewrite ,
10
+ UserRole ,
10
11
} from '~/libs/core'
11
12
12
13
import {
@@ -95,6 +96,7 @@ export const reviewRoutes: ReadonlyArray<PlatformRoute> = [
95
96
route : activeReviewAssigmentsRouteId ,
96
97
} ,
97
98
{
99
+ authRequired : true ,
98
100
children : [
99
101
{
100
102
element : < ScorecardsListPage /> ,
@@ -110,6 +112,9 @@ export const reviewRoutes: ReadonlyArray<PlatformRoute> = [
110
112
] ,
111
113
element : < ScorecardsContainer /> ,
112
114
id : scorecardRouteId ,
115
+ rolesRequired : [
116
+ UserRole . administrator ,
117
+ ] ,
113
118
route : scorecardRouteId ,
114
119
} ,
115
120
] ,
Original file line number Diff line number Diff line change 3
3
.contentLayout {
4
4
width : 100% ;
5
5
padding-bottom : 0 ;
6
+ height : $content-height ;
6
7
7
8
.contentLayout-outer {
8
9
width : 100% ;
You can’t perform that action at this time.
0 commit comments