mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 14:48:45 +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
@@ -681,7 +681,7 @@ service AdminService {
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags: "Settings";
|
||||
summary: "Get Security Settings";
|
||||
description: "Returns the security settings of the ZITADEL instance. The settings define if the iframe is allowed and from which origins."
|
||||
description: "Returns the security settings of the ZITADEL instance."
|
||||
};
|
||||
}
|
||||
|
||||
@@ -698,7 +698,7 @@ service AdminService {
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags: "Settings";
|
||||
summary: "Set Security Settings";
|
||||
description: "Set the security settings of the ZITADEL instance. The settings define if the iframe is allowed and from which origins."
|
||||
description: "Set the security settings of the ZITADEL instance."
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4295,6 +4295,8 @@ message SetSecurityPolicyRequest{
|
||||
bool enable_iframe_embedding = 1;
|
||||
// origins allowed loading ZITADEL in an iframe if enable_iframe_embedding is true
|
||||
repeated string allowed_origins = 2;
|
||||
// allows users to impersonate other users. The impersonator needs the appropriate `*_IMPERSONATOR` roles assigned as well"
|
||||
bool enable_impersonation = 3;
|
||||
}
|
||||
|
||||
message SetSecurityPolicyResponse{
|
||||
|
||||
Reference in New Issue
Block a user