@@ -249,13 +249,19 @@ export default {
249
249
},
250
250
{
251
251
title: PAGE_TITLES .GRADUATION ,
252
- link: { name: ' graduationSchoolTabs' , params: {schoolID: this .userInfo .activeInstituteIdentifier }},
253
- authorized: this .hasRequiredPermission (PERMISSION .GRAD_SCH_UPLOAD ) && this .userInfo .activeInstituteType === ' SCHOOL' && ! this .disableGdcFunctionality ,
254
- },
255
- {
256
- title: PAGE_TITLES .ASSESSMENT ,
257
- link: {name: ' school-assessment-session-detail' },
258
- authorized: this .hasRequiredPermission (PERMISSION .EAS_SCH_EDIT ) && this .userInfo .activeInstituteType === ' SCHOOL' && ! this .disableAssessmentFunctionality ,
252
+ authorized: (this .hasRequiredPermission (PERMISSION .GRAD_SCH_UPLOAD ) && ! this .disableGdcFunctionality ) || (this .hasRequiredPermission (PERMISSION .EAS_SCH_EDIT ) && ! this .disableAssessmentFunctionality ) && this .userInfo .activeInstituteType === ' SCHOOL' ,
253
+ items: [
254
+ {
255
+ title: PAGE_TITLES .GRAD_DATA_COLLECTION ,
256
+ link: { name: ' graduationSchoolTabs' , params: {schoolID: this .userInfo .activeInstituteIdentifier }},
257
+ authorized: this .hasRequiredPermission (PERMISSION .GRAD_SCH_UPLOAD ) && this .userInfo .activeInstituteType === ' SCHOOL' && ! this .disableGdcFunctionality ,
258
+ },
259
+ {
260
+ title: PAGE_TITLES .ASSESSMENT ,
261
+ link: {name: ' school-assessment-session-detail' },
262
+ authorized: this .hasRequiredPermission (PERMISSION .EAS_SCH_EDIT ) && this .userInfo .activeInstituteType === ' SCHOOL' && ! this .disableAssessmentFunctionality ,
263
+ }
264
+ ]
259
265
},
260
266
{
261
267
title: PAGE_TITLES .DISTRICT_DETAILS ,
@@ -279,13 +285,19 @@ export default {
279
285
},
280
286
{
281
287
title: PAGE_TITLES .GRADUATION ,
282
- link: { name: ' graduationDistrictTabs' , params: {districtID: this .userInfo .activeInstituteIdentifier }},
283
- authorized: this .hasRequiredPermission (PERMISSION .GRAD_DIS_UPLOAD ) && this .userInfo .activeInstituteType === ' DISTRICT' && ! this .disableGdcFunctionality ,
284
- },
285
- {
286
- title: PAGE_TITLES .ASSESSMENT ,
287
- link: {name: ' district-assessment-session-detail' },
288
- authorized: this .hasRequiredPermission (PERMISSION .EAS_DIS_EDIT ) && this .userInfo .activeInstituteType === ' DISTRICT' && ! this .disableAssessmentFunctionality ,
288
+ authorized: (this .hasRequiredPermission (PERMISSION .GRAD_DIS_UPLOAD ) && ! this .disableGdcFunctionality ) || (this .hasRequiredPermission (PERMISSION .EAS_DIS_EDIT ) && ! this .disableAssessmentFunctionality ) && this .userInfo .activeInstituteType === ' DISTRICT' ,
289
+ items: [
290
+ {
291
+ title: PAGE_TITLES .GRAD_DATA_COLLECTION ,
292
+ link: { name: ' graduationDistrictTabs' , params: {districtID: this .userInfo .activeInstituteIdentifier }},
293
+ authorized: this .hasRequiredPermission (PERMISSION .GRAD_DIS_UPLOAD ) && this .userInfo .activeInstituteType === ' DISTRICT' && ! this .disableGdcFunctionality ,
294
+ },
295
+ {
296
+ title: PAGE_TITLES .ASSESSMENT ,
297
+ link: {name: ' district-assessment-session-detail' },
298
+ authorized: this .hasRequiredPermission (PERMISSION .EAS_DIS_EDIT ) && this .userInfo .activeInstituteType === ' DISTRICT' && ! this .disableAssessmentFunctionality ,
299
+ }
300
+ ]
289
301
},
290
302
{
291
303
title: PAGE_TITLES .ADMINISTRATION ,
0 commit comments