-
Notifications
You must be signed in to change notification settings - Fork 16k
Add Workers RBAC updates #16213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Add Workers RBAC updates #16213
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2bd6a74
Add new Worker roles to roles table
JoshuaYe 0b81cfb
Change order of pages under Workers Platform
JoshuaYe ec48a57
Roles and permissions page under Workers Platform
JoshuaYe c20005c
Update src/content/docs/workers/platform/roles-permissions.mdx
JoshuaYe 9364e6e
Update src/content/docs/workers/platform/roles-permissions.mdx
JoshuaYe 678e4d4
Update src/content/docs/workers/platform/roles-permissions.mdx
JoshuaYe 0c1fc61
Add Super Admin to table
JoshuaYe 314bff1
Add links to table columns
JoshuaYe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| pcx_content_type: reference | ||
| title: Roles and permissions | ||
| sidebar: | ||
| order: 2 | ||
|
|
||
| --- | ||
|
|
||
| When you create a Cloudflare account, you are given the [Super Administrator role](/fundamentals/setup/manage-members/roles/#account-scoped-roles). As a Super Administrator, you can invite members to join your account and assign them different roles. | ||
|
|
||
| To check the list of members in your account, or to manage roles and permissions, refer to the [Account setup](/fundamentals/setup/manage-members/) documentation. | ||
|
|
||
| ## Workers roles | ||
|
|
||
| The following roles have permissions not restricted to Cloudflare [Workers](/workers/) but to related developer platform products too. This includes [Pages](/pages/), [Durable Objects](/durable-objects/), [KV](/kv/) and [R2](/r2/). It also provides read access to Zones, [Zone Analytics](/analytics/account-and-zone-analytics/zone-analytics/) and [Page Rules](/rules/). | ||
|
|
||
| Only Super Administrators will be able to assign or remove the following roles from users in their account. Scroll to the right to see a full list of permissions for each role. | ||
|
|
||
|
|
||
|
|
||
| | | View Code | View [Metrics](/workers/observability/metrics-and-analytics/) | View [Logs](/workers/observability/logging/) | Manage [Versions](/workers/configuration/versions-and-deployments/#versions) | Manage [Bindings](/workers/runtime-apis/bindings/) | Manage [Deployments](/workers/configuration/versions-and-deployments/#deployments) | Change [Routes](/workers/configuration/routing/routes/) | Change [Subdomain](/workers/configuration/routing/workers-dev/) | Delete Worker | | ||
| | ----------------------------------- | --------- | ------------ | --------- | --------------- | --------------- | ------------------ | ------------- | ---------------- | ------------- | | ||
| | Super Administrator | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| | Workers Admin | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ||
| | Workers Versions & Deployments Edit | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | | ||
|
JoshuaYe marked this conversation as resolved.
|
||
| | Workers Versions Edit | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | | ||
| | Workers Read | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems helpful for this in some way to link to the new page in the Workers docs that you are adding? (think fine if unique to Workers and other products don't do this on this page)
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, unfortunately only Zero Trust does this too. If we think two products is enough, we could add a note that links to their specific role pages.