mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix(coderd/rbac): require org membership for user ACLs
This commit is contained in:
@@ -330,7 +330,7 @@ object_is_included_in_scope_allow_list if {
|
||||
|
||||
# ACL for users
|
||||
acl_allow if {
|
||||
# TODO: Should you have to be a member of the org too?
|
||||
is_org_member
|
||||
perms := input.object.acl_user_list[input.subject.id]
|
||||
|
||||
# Check if either the action or * is allowed
|
||||
|
||||
Reference in New Issue
Block a user