diff --git a/src/app/modules/hub-users-management/hub-users.ts b/src/app/modules/hub-users-management/hub-users.ts index 5115265..36f06be 100644 --- a/src/app/modules/hub-users-management/hub-users.ts +++ b/src/app/modules/hub-users-management/hub-users.ts @@ -141,6 +141,7 @@ export class HubUsersManagement implements OnInit, OnDestroy { .subscribe({ next: (user) => { this.currentUserRole = this.extractUserRole(user); + this.canCreateUsers === this.roleService.isHubUser(); console.log(`HUB User ROLE: ${this.currentUserRole}`);