Skip to content

Commit

Permalink
site roles only if local token
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Feb 4, 2025
1 parent c0899cb commit 6c55d89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions permissions_engine/permissions.rego
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ else := false

site_admin := data.calculate.site_admin if {
valid_token
data.idp.is_local_token
}

site_curator := data.calculate.site_curator if {
valid_token
data.idp.is_local_token
}

datasets := data.calculate.datasets if {
Expand Down

0 comments on commit 6c55d89

Please sign in to comment.