Skip to content

Commit

Permalink
Merge pull request #162 from whdalsrnt/master
Browse files Browse the repository at this point in the history
feat: add role_type field
  • Loading branch information
whdalsrnt authored Nov 23, 2023
2 parents 7cee84f + 9da349f commit e6637e6
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions proto/spaceone/api/identity/v2/role_binding.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,21 @@ message RoleBindingRequest {

message RoleBindingInfo {
enum Scope {
NONE = 0;
SCOPE_NONE = 0;
DOMAIN = 1;
WORKSPACE = 2;
}
enum RoleType {
ROLE_TYPE_NONE = 0;
SYSTEM_ADMIN = 1;
DOMAIN_ADMIN = 2;
WORKPLACE_OWNER = 3;
WORKPLACE_MEMBER = 4;
}

string role_binding_id = 1;
Scope scope = 3;
Scope scope = 2;
RoleType role_type = 3;
string domain_id = 21;
string workspace_id = 22;
string role_id = 23;
Expand All @@ -100,10 +108,17 @@ message RoleBindingInfo {

message RoleBindingSearchQuery {
enum Scope {
NONE = 0;
SCOPE_NONE = 0;
DOMAIN = 1;
WORKSPACE = 2;
}
enum RoleType {
ROLE_TYPE_NONE = 0;
SYSTEM_ADMIN = 1;
DOMAIN_ADMIN = 2;
WORKPLACE_OWNER = 3;
WORKPLACE_MEMBER = 4;
}

// +optional
spaceone.api.core.v1.Query query = 1;
Expand All @@ -112,6 +127,8 @@ message RoleBindingSearchQuery {
// +optional
Scope scope = 3;
// +optional
RoleType role_type = 4;
// +optional
string domain_id = 21;
// +optional
string workspace_id = 22;
Expand Down

0 comments on commit e6637e6

Please sign in to comment.