- Notifications
You must be signed in to change notification settings - Fork1k
feat: implement acl for workspaces#19094
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
aslilac commentedJul 29, 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.
I'm concerned about the security implications of exposing this value too prominently, and we have a lot queries that currently select Edit: I guess it doesn't really matter if the db types have this column. We'd have to expose them through the codersdk types manually still. |
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.
Wait, not done reviewing! Sorry, finishing up. Misclicked
Uh oh!
There was an error while loading.Please reload this page.
// "left" will be a map of group names to actions in rego. | ||
//{ | ||
// "all_users": ["read"] | ||
//} |
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.
This is not 100% correct anymore. Maybe just note theSubField
is""
for this example.
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.
I think this is still correct tho. by the time it gets to rego it will just be a list of actions because the subfield gets handled in sql right? the rego policy doesn't even know about the indirection
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.
The rego just gets a slice of actions iirc. I will need to double check, we can keep this for now
eeb0bbe
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
ACLMappingVar
to support permissions lists stored in a field rather than directly in the mappingworkspaces
table