mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 01:37:31 +00:00
fix: Custom text split features (#2225)
* fix: separate tier of custom text (message and login) * fix: add migration * fix: build problems * fix: tests * Update internal/api/grpc/admin/features.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/api/grpc/admin/features.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * fix: rename sql file * fix: change sql files * fix: console * fix: console Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -2613,6 +2613,8 @@ message SetDefaultFeaturesRequest {
|
||||
bool custom_text = 17;
|
||||
bool privacy_policy = 18;
|
||||
bool metadata_user = 19;
|
||||
bool custom_text_message = 20;
|
||||
bool custom_text_login = 21;
|
||||
}
|
||||
|
||||
message SetDefaultFeaturesResponse {
|
||||
@@ -2649,6 +2651,8 @@ message SetOrgFeaturesRequest {
|
||||
bool custom_text = 18;
|
||||
bool privacy_policy = 19;
|
||||
bool metadata_user = 20;
|
||||
bool custom_text_message = 21;
|
||||
bool custom_text_login = 22;
|
||||
}
|
||||
|
||||
message SetOrgFeaturesResponse {
|
||||
|
@@ -27,6 +27,8 @@ message Features {
|
||||
bool custom_text = 16;
|
||||
bool privacy_policy = 17;
|
||||
bool metadata_user = 18;
|
||||
bool custom_text_message = 19;
|
||||
bool custom_text_login = 20;
|
||||
}
|
||||
|
||||
message FeatureTier {
|
||||
|
@@ -2271,7 +2271,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.message"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2319,7 +2319,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.message"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2368,7 +2368,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.message"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2417,7 +2417,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.message"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2466,7 +2466,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.message"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2515,7 +2515,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.message"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2563,7 +2563,7 @@ service ManagementService {
|
||||
|
||||
option (zitadel.v1.auth_option) = {
|
||||
permission: "policy.write";
|
||||
feature: "custom_text"
|
||||
feature: "custom_text.login"
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user