mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 11:02:16 +00:00
feat: impersonation roles (#7442)
* partial work done * test IAM membership roles * org membership tests * console :(, translations and docs * fix integration test * fix tests * add EnableImpersonation to security policy API * fix integration test timestamp checking * add security policy tests and fix projections * add impersonation setting in console * add security settings to the settings v2 API * fix typo * move impersonation to instance --------- Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
68af4f59c9
commit
062d153cfe
@@ -87,6 +87,12 @@ export function getMembershipColor(role: string): Color {
|
||||
case 'IAM_USER_MANAGER':
|
||||
color = COLORS[8];
|
||||
break;
|
||||
case 'IAM_ADMIN_IMPERSONATOR':
|
||||
color = COLORS[17];
|
||||
break;
|
||||
case 'IAM_END_USER_IMPERSONATOR':
|
||||
color = COLORS[9];
|
||||
break;
|
||||
|
||||
case 'ORG_OWNER':
|
||||
color = COLORS[16];
|
||||
@@ -106,6 +112,12 @@ export function getMembershipColor(role: string): Color {
|
||||
case 'ORG_PROJECT_CREATOR':
|
||||
color = COLORS[12];
|
||||
break;
|
||||
case 'ORG_ADMIN_IMPERSONATOR':
|
||||
color = COLORS[17];
|
||||
break;
|
||||
case 'ORG_END_USER_IMPERSONATOR':
|
||||
color = COLORS[9];
|
||||
break;
|
||||
|
||||
case 'PROJECT_OWNER':
|
||||
color = COLORS[9];
|
||||
|
||||
Reference in New Issue
Block a user