Skip to content

chore: sync code snippets#4820

Open
temporal-cicd[bot] wants to merge 1 commit into
mainfrom
snipsync/daily-update
Open

chore: sync code snippets#4820
temporal-cicd[bot] wants to merge 1 commit into
mainfrom
snipsync/daily-update

Conversation

@temporal-cicd

@temporal-cicd temporal-cicd Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Automated daily sync of code snippets from source repositories via snipsync.

This PR was generated by the Snipsync workflow.

┆Attachments: EDU-6650 chore: sync code snippets

@temporal-cicd temporal-cicd Bot requested a review from a team as a code owner July 4, 2026 06:59
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Jul 4, 2026 7:01am

Request Review

With Custom Roles, you can define granular permissions in Temporal Cloud, giving your team precise control over who can
perform specific actions within your account.

## What are Custom Roles?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'What are Custom Roles?' should use sentence-style capitalization.

## What are Custom Roles?

Custom Roles are user-defined collections of permissions that grant access to specific Temporal Cloud resources
([Account](/cloud/manage-access#temporal-cloud-accounts), [Namespace](/namespaces), [Nexus Endpoint](/nexus/endpoints),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Temporal.terms] Use 'Temporal Nexus' instead of 'Nexus' when referring to a Temporal term.

or [Connectivity Rule](/cloud/connectivity#connectivity-rules)). They allow you to define custom permission sets that
are more granular than the predefined roles, and assign them to any principal (user, group, service account).

## Why use Custom Roles?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Why use Custom Roles?' should use sentence-style capitalization.

- **Service account security**: Create narrowly scoped permissions for automation and integrations, reducing risk if
credentials are compromised.

## Defining Custom Roles

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Defining Custom Roles' should use sentence-style capitalization.

- `cloud.namespace.list`, scoped to the Cloud Account
- `cloud.namespace.get`, scoped to all Namespace resources

## Delegating Custom Roles

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Delegating Custom Roles' should use sentence-style capitalization.

</TabItem>
<TabItem value="terraform" label="Terraform">

To update a Custom Role, modify the `temporalcloud_custom_role` resource in your Terraform configuration and run

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Temporal.terms] Use 'Update' instead of 'update' when referring to a Temporal term.


To update a Custom Role, modify the `temporalcloud_custom_role` resource in your Terraform configuration and run
`terraform apply`. Updating a Custom Role replaces the full permissions list. Include all permissions you want to
retain. Any permission omitted from the update will be removed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Temporal.terms] Use 'Update' instead of 'update' when referring to a Temporal term.

</TabItem>
<TabItem value="cloud-cli" label="Cloud CLI">

To update a role spec by ID, use `update`:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[Temporal.terms] Use 'Update' instead of 'update' when referring to a Temporal term.

</TabItem>
</Tabs>

## Delete a Custom Role

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Delete a Custom Role' should use sentence-style capitalization.

</TabItem>
</Tabs>

## Custom Roles limits

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'Custom Roles limits' should use sentence-style capitalization.

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

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.

0 participants