Skip to content
Merged
Prev Previous commit
Next Next commit
Revert "Rule index org allow expansion"
This reverts commit 0ef4b5c.
This addition made a unit test fail with a supporting statemetn
  • Loading branch information
Emyrk committed Feb 9, 2023
commit 402e31f4665a852e60f729437e74b688ca760ca0
2 changes: 0 additions & 2 deletions coderd/rbac/policy.rego
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ default scope_org := 0
scope_org := org_allow([input.scope])

org_allow(roles) := num {
# Rule index on org_owner being set.
input.object.org_owner != ""
allow := { id: num |
id := org_members[_]
set := { x |
Expand Down