mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 21:53:45 +00:00
beb1c1604a
* feat: command side privacy policy * feat: add privacy policy to api * feat: add privacy policy query side * fix: add privacy policy to mgmt api * fix: add privacy policy to auth and base data * feat: use privacyPolicy in login gui * feat: use privacyPolicy in login gui * feat: test org fatures * feat: typos * feat: tos in register
44 lines
1.0 KiB
Protocol Buffer
44 lines
1.0 KiB
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;
|
|
bool login_policy_password_reset = 13;
|
|
bool label_policy_private_label = 14;
|
|
bool label_policy_watermark = 15;
|
|
bool custom_text = 16;
|
|
bool privacy_policy = 17;
|
|
}
|
|
|
|
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;
|
|
} |