Created
January 26, 2021 15:21
-
-
Save anderseknert/31323367379a396807e74b2a1fa80278 to your computer and use it in GitHub Desktop.
policy.rego
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package policy | |
default allow = false | |
allow { | |
input.role == "admin" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment