Revision 61426
Added by Konstantinos Spyrou over 2 years ago
topmenu-landing.component.ts | ||
---|---|---|
57 | 57 |
} |
58 | 58 |
|
59 | 59 |
getIsUserAdmin() { |
60 |
this.isUserAdmin = (this.authService.getUserRole().includes('ROLE_ADMIN') ||
|
|
61 |
this.authService.getUserRole().includes('ROLE_PROVIDE_ADMIN'));
|
|
60 |
this.isUserAdmin = (this.authService.getUserRole().includes('SUPER_ADMINISTRATOR') ||
|
|
61 |
this.authService.getUserRole().includes('CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR'));
|
|
62 | 62 |
return this.isUserAdmin; |
63 | 63 |
} |
64 | 64 |
} |
Also available in: Unified diff
changed roles for super admin and provide admin