Skip to content

Add project-scoped custom roles and release v0.27.0 - #142

Merged
captainbeardo merged 1 commit into
mainfrom
beardo/release-v0.27.0
Nov 13, 2026
Merged

captainbeardo merged 1 commit into
mainfrom
beardo/release-v0.27.0

Conversation

@captainbeardo

@captainbeardo captainbeardo commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What was changed

Adds project-scoped custom roles to the Cloud Ops API and bumps the version to v0.27.0 (VERSION and README.md).

  • CustomRoleSpec.project_id (min_version=v0.27.0): scopes a custom role to a project. Its resources must belong to that project, and it can only be assigned within that project. Immutable after creation.
  • ProjectAccess.custom_roles (min_version=v0.27.0): assigns project-scoped custom roles to a user, service account or user group in a project.
  • GetCustomRolesRequest.project_id: lists the custom roles scoped to a project. If unset, only account-scoped custom roles are returned.

Why?

Lets custom roles be defined and assigned at the project level, not just the account level.

A project-scoped custom role only makes its project visible in GetProjects if the role includes cloud.project.get.

Checklist

  • buf lint, buf breaking (against main) and buf build pass.

🤖 Generated with Claude Code

- CustomRoleSpec.project_id: scope a custom role to a project
- ProjectAccess.custom_roles: assign project-scoped custom roles to a
  principal in a project
- GetCustomRolesRequest.project_id: list the custom roles scoped to a
  project

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@captainbeardo
captainbeardo requested a review from a team as a code owner November 12, 2026 22:22
@captainbeardo
captainbeardo merged commit 89107f5 into main Nov 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants