Skip to content

Commit

Permalink
possible other form
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Dec 31, 2024
1 parent a752482 commit 2e3b177
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions permissions_engine/permissions.rego
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ allowed if {
datasets[input.body.program] == true
}

else if {
input.body.program in datasets
}

else if {
site_admin
}
Expand Down

0 comments on commit 2e3b177

Please sign in to comment.