mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-06 10:58:48 +00:00
* feat: add v2alpha policies service * feat: add v2alpha policies service * fix: rename of attributes and messages in v2alpha api * fix: rename of attributes and messages in v2alpha api * fix: linter corrections * fix: review corrections * fix: review corrections * fix: review corrections * fix: review corrections * fix grpc * refactor: rename to settings and more * Apply suggestions from code review Co-authored-by: Fabi <[email protected]> * add service to docs and rename legal settings * unit tests for converters * go mod tidy * ensure idp name and return list details * fix: use correct resource owner for active idps * change query to join --------- Co-authored-by: Livio Spring <[email protected]> Co-authored-by: Fabi <[email protected]> Co-authored-by: Tim Möhlmann <[email protected]>
34 lines
1.3 KiB
Protocol Buffer
34 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package zitadel.settings.v2alpha;
|
|
|
|
option go_package = "github.com/zitadel/zitadel/pkg/grpc/settings/v2alpha;settings";
|
|
|
|
import "protoc-gen-openapiv2/options/annotations.proto";
|
|
import "zitadel/settings/v2alpha/settings.proto";
|
|
|
|
message DomainSettings {
|
|
bool login_name_includes_domain = 1 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "the username has to end with the domain of its organization"
|
|
}
|
|
];
|
|
bool require_org_domain_verification = 2 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "defines if organization domains should be verified upon creation, otherwise will be created already verified"
|
|
}
|
|
];
|
|
bool smtp_sender_address_matches_instance_domain = 3 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "defines if the SMTP sender address domain should match an existing domain on the instance"
|
|
}
|
|
];
|
|
// resource_owner_type returns if the setting is managed on the organization or on the instance
|
|
ResourceOwnerType resource_owner_type = 6 [
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
description: "resource_owner_type returns if the setting is managed on the organization or on the instance";
|
|
}
|
|
];
|
|
}
|
|
|