Skip to content

Commit

Permalink
feat(mgmt): add Permission data for in organization response
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Apr 23, 2024
1 parent 1bfc597 commit 78d4e22
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/mgmt/v1beta/mgmt.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ enum OwnerType {
OWNER_TYPE_ORGANIZATION = 2;
}

// Permission defines how a resource can be used.
message Permission {
// Defines whether the resource can be modified.
bool can_edit = 1;
}

// MembershipState describes the state of a user membership to an organization.
enum MembershipState {
// Unspecified.
Expand Down Expand Up @@ -705,6 +711,8 @@ message Organization {
User owner = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
// Profile.
OrganizationProfile profile = 12;
// Permission
Permission permission = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// ListOrganizationsRequest represents a request to list all organizations
Expand Down

0 comments on commit 78d4e22

Please sign in to comment.