Added impersonation. More data available via auth service about the user. Added admin auth guard.

This commit is contained in:
Tom
2024-10-31 05:33:11 +00:00
parent 65f4172bc2
commit 2bde8b850a
16 changed files with 218 additions and 47 deletions

View File

@ -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();