Added impersonation. More data available via auth service about the user. Added admin auth guard.
This commit is contained in:
@ -83,7 +83,6 @@ export class PolicyTableComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
} else if (response.request.type == "get_permissions") {
|
||||
this.groups = Object.assign({}, ...response.data.groups.map((g: any) => ({ [g.id]: g })));
|
||||
console.log(this.groups);
|
||||
}
|
||||
});
|
||||
this.hermes.fetchPolicies();
|
||||
|
Reference in New Issue
Block a user