Revision 61426
Added by Konstantinos Spyrou almost 3 years ago
topmenu-dashboard.component.ts | ||
---|---|---|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
getIsUserAdmin() { |
77 |
this.isUserAdmin = (this.authService.getUserRole().includes('ROLE_ADMIN') ||
|
|
78 |
this.authService.getUserRole().includes('ROLE_PROVIDE_ADMIN'));
|
|
77 |
this.isUserAdmin = (this.authService.getUserRole().includes('SUPER_ADMINISTRATOR') ||
|
|
78 |
this.authService.getUserRole().includes('CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR'));
|
|
79 | 79 |
return this.isUserAdmin; |
80 | 80 |
} |
81 | 81 |
} |
Also available in: Unified diff
changed roles for super admin and provide admin