mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:37:23 +00:00

* fix: custom domain * fix: custom domain * fix: custom domain * fix: custom domain feature in proto * fix: remove custom domains on feature downgrade * fix test * fix: custom domain feature in proto * ensure tests work Co-authored-by: fabi <fabienne.gerschwiler@gmail.com>
39 lines
902 B
Protocol Buffer
39 lines
902 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "zitadel/object.proto";
|
|
import "google/protobuf/duration.proto";
|
|
|
|
package zitadel.features.v1;
|
|
|
|
option go_package = "github.com/caos/zitadel/pkg/grpc/features";
|
|
|
|
message Features {
|
|
zitadel.v1.ObjectDetails details = 1;
|
|
FeatureTier tier = 2;
|
|
bool is_default = 3;
|
|
|
|
google.protobuf.Duration audit_log_retention = 4;
|
|
bool login_policy_username_login = 5;
|
|
bool login_policy_registration = 6;
|
|
bool login_policy_idp = 7;
|
|
bool login_policy_factors = 8;
|
|
bool login_policy_passwordless = 9;
|
|
bool password_complexity_policy = 10;
|
|
bool label_policy = 11;
|
|
bool custom_domain = 12;
|
|
}
|
|
|
|
message FeatureTier {
|
|
string name = 1;
|
|
string description = 2;
|
|
FeaturesState state = 3;
|
|
string status_info = 4;
|
|
}
|
|
|
|
|
|
enum FeaturesState {
|
|
FEATURES_STATE_ACTIVE = 0;
|
|
FEATURES_STATE_ACTION_REQUIRED = 1;
|
|
FEATURES_STATE_CANCELED = 2;
|
|
FEATURES_STATE_GRANDFATHERED = 3;
|
|
} |