Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change role binding fields #160

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions proto/spaceone/api/identity/v2/role_binding.proto
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ message CreateRoleBindingRequest {

string user_id = 1;
string role_id = 2;
bool is_managed_role = 3;
Scope scope = 4;
Scope scope = 3;
string domain_id = 21;
// +optional
string workspace_id = 22;
Expand All @@ -71,8 +70,9 @@ message CreateRoleBindingRequest {
message UpdateRoleBindingRequest {
string role_binding_id = 1;
string role_id = 2;
bool is_managed_role = 3;
string domain_id = 21;
// +optional
string workspace_id = 22;
}

message RoleBindingRequest {
Expand All @@ -90,13 +90,11 @@ message RoleBindingInfo {
}

string role_binding_id = 1;
bool is_managed_role = 2;
Scope scope = 3;
string domain_id = 21;
string workspace_id = 22;
string role_id = 23;
string user_id = 24;
string repository_id = 25;
string created_at = 31;
}

Expand All @@ -121,8 +119,6 @@ message RoleBindingSearchQuery {
string role_id = 23;
// +optional
string user_id = 24;
// +optional
string repository_id = 25;
}

message RoleBindingsInfo {
Expand Down