Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To use the Cloud Ops API in your project, preform the following 4 steps:

The client is expected to pass in a `temporal-cloud-api-version` header with the api version identifier with every request it makes to the apis. The backend will use the version to safely mutate resources. The `temporal:versioning:min_version` label specifies the minimum version of the API that supports the field.

Current Version `v0.26.0`
Current Version `v0.27.0`

### URL

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.26.0
v0.27.0
3 changes: 3 additions & 0 deletions temporal/api/cloud/cloudservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,9 @@ message GetCustomRolesRequest {
int32 page_size = 1;
// The page token if this is continuing from another response.
string page_token = 2;
// Filter to only the custom roles scoped to this project - optional.
// If unset, only account-scoped custom roles are returned.
string project_id = 3;
}

message GetCustomRolesResponse {
Expand Down
12 changes: 12 additions & 0 deletions temporal/api/cloud/identity/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ message ProjectAccess {
PROJECT_ROLE_MEMBER = 6; // Basic membership; grants read-only access to the project.
PROJECT_ROLE_DEVELOPER = 7; // Inherited from the account developer role; cannot be assigned directly.
}

// List of project-scoped custom role IDs assigned to the principal for this project.
// temporal:versioning:min_version=v0.27.0
repeated string custom_roles = 2;
}

message Access {
Expand Down Expand Up @@ -343,6 +347,14 @@ message CustomRoleSpec {
string description = 2;
// The permissions assigned to the custom role.
repeated Permission permissions = 3;
// The id of the project this custom role is scoped to - optional.
// If unset, the custom role is scoped to the account: it can reference resources anywhere in the
// account and can be assigned to principals at the account level.
// If set, the custom role is scoped to the project: its resources must belong to that project, it
// is not shared across projects, and it can only be assigned to principals within that project.
// Immutable once the custom role is created - it cannot be changed via UpdateCustomRole.
// temporal:versioning:min_version=v0.27.0
string project_id = 4;

message Resources {
// The resource type the permission applies to.
Expand Down
Loading