mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-19 05:12:52 +00:00
feat: get default complexity policy (#399)
* feat: get default complexity policy * fix: regenerate proto files
This commit is contained in:
@@ -378,6 +378,16 @@ service ManagementService {
|
||||
};
|
||||
}
|
||||
|
||||
rpc GetDefaultPasswordComplexityPolicy(google.protobuf.Empty) returns (PasswordComplexityPolicy) {
|
||||
option (google.api.http) = {
|
||||
get: "/policies/passwords/complexity/default"
|
||||
};
|
||||
|
||||
option (caos.zitadel.utils.v1.auth_option) = {
|
||||
permission: "policy.read"
|
||||
};
|
||||
}
|
||||
|
||||
rpc CreatePasswordComplexityPolicy(PasswordComplexityPolicyCreate) returns (PasswordComplexityPolicy) {
|
||||
option (google.api.http) = {
|
||||
post: "/policies/passwords/complexity"
|
||||
|
Reference in New Issue
Block a user