feat: add DCB User Service API - Authentication system with KEYCLOAK - Modular architecture with services for each feature
This commit is contained in:
parent
7a06403f85
commit
7aaeb00951
@ -141,6 +141,7 @@ export class HubUsersManagement implements OnInit, OnDestroy {
|
|||||||
.subscribe({
|
.subscribe({
|
||||||
next: (user) => {
|
next: (user) => {
|
||||||
this.currentUserRole = this.extractUserRole(user);
|
this.currentUserRole = this.extractUserRole(user);
|
||||||
|
this.canCreateUsers === this.roleService.isHubUser();
|
||||||
|
|
||||||
console.log(`HUB User ROLE: ${this.currentUserRole}`);
|
console.log(`HUB User ROLE: ${this.currentUserRole}`);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user