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:
Tim Möhlmann
2024-02-28 10:21:11 +00:00
committed by GitHub
co-authored by Livio Spring
parent 68af4f59c9
commit 062d153cfe
60 changed files with 1624 additions and 144 deletions
+12
View File
@@ -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];