- Notifications
You must be signed in to change notification settings - Fork1k
feat: add public RBAC scope catalog for user-requestable permissions#19913
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
ThomasK33 commentedSep 22, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
fdb2822
to4f64c51
Compare4f64c51
tocaa7377
Compare6de9975
to99afbd9
Comparecaa7377
tobf1e4e9
Compare99afbd9
to6a22bcc
CompareThere 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.
The namePublicLowLevel
feels strange. We could probably just call itPublic
? OrExternal
to mirror theInternal
language you have in the comments.
Uh oh!
There was an error while loading.Please reload this page.
6a22bcc
to2dc79e0
Comparebf1e4e9
to76ae5ab
Compare
I updated it to
I don'treally have a preference here. When I initially named it, I was thinking of |
2dc79e0
to92537e5
Compare76ae5ab
tof1eed85
Compare92537e5
to4810c5e
Comparec96c93d
to0ae1500
Compare4810c5e
to6d04e1c
Compareb7ba894
tof8099fd
Compare6d04e1c
to49feb2d
Comparef8099fd
tofbe5b58
Compareeddb2a7
toab8574e
Comparebff79c8
to62cab0f
Compareab8574e
tocffaa05
Compare62cab0f
to5ede22e
Comparecffaa05
to84de60e
Compare5ede22e
toefcde0d
Compare84de60e
toadb7521
Compareefcde0d
to7b2678b
Compare8e56891
to2cddda5
Compare6258186
to4f84ffa
CompareThere 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.
Nothing blocking
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Add public low-level scope catalog to RBAC system with curated set ofuser-requestable scopes. Includes workspace, template, API key, file,personal user, and user secret scopes. Updates scope checkingdocumentation to reference new catalog location in rbac package.
4f84ffa
to6466375
CompareThomasK33 commentedSep 26, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Merge activity
|
47c92ad
intomainUh oh!
There was an error while loading.Please reload this page.
Add a curated catalog of public RBAC scopes
This PR introduces a curated catalog of public RBAC scopes that are exposed to users. It adds:
publicLowLevel
map inscopes_catalog.go
that defines which resource:action pairs are user-requestableIsPublicLowLevel()
function to check if a scope is in the public catalogPublicLowLevelScopeNames()
function that returns a sorted list of public scopesThis change helps distinguish between internal-only scopes and those that should be exposed to users in the API.