Skip to content

Add custom role permissions reference#4479

Open
lennessyy wants to merge 5 commits intocustom-rolesfrom
custom-roles-permissions-reference
Open

Add custom role permissions reference#4479
lennessyy wants to merge 5 commits intocustom-rolesfrom
custom-roles-permissions-reference

Conversation

@lennessyy
Copy link
Copy Markdown
Contributor

@lennessyy lennessyy commented Apr 23, 2026

Summary

  • Adds a new "Custom Role permissions reference" section to permissions-reference.mdx with tables listing all permission action strings available for Custom Roles, organized by resource type (Account, Namespace, Project, Nexus Endpoint, Connectivity Rule).
  • Includes a generator script (bin/generate-custom-role-permissions-table.js) that fetches the canonical data from temporalio/saas-proto (protogen/custom_role_permissions.json) and produces the markdown tables. Internal permissions (API keys, service accounts, custom roles) are filtered out.

Test plan

  • Docusaurus build passes
  • Verify rendered tables on preview site
  • Confirm permission strings match what the Custom Roles UI shows

🤖 Generated with Claude Code

┆Attachments: EDU-6257 Add custom role permissions reference

Adds a new section to permissions-reference.mdx listing the permission
action strings available for Custom Roles, organized by resource type
(Account, Namespace, Project, Nexus Endpoint, Connectivity Rule).

Includes a generator script that fetches the canonical permission data
from temporalio/saas-proto and produces the markdown tables.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lennessyy lennessyy requested a review from a team as a code owner April 23, 2026 16:40
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Apr 23, 2026 5:18pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…s API

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move the table content into _custom_role_permissions_table.mdx, imported
by permissions-reference.mdx. The generator script now outputs only the
tables. Add a weekly GitHub Actions workflow that regenerates the partial
from temporalio/saas-proto and opens a PR if anything changed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant