Template
1
0

feat: update cerbos to use json

This commit is contained in:
2025-11-23 13:44:39 +00:00
parent 7504361d88
commit 2b462993cc
12 changed files with 120 additions and 188 deletions

15
policy.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "https://api.cerbos.dev/v0.47.0/cerbos/policy/v1/Policy.schema.json",
"apiVersion": "api.cerbos.dev/v1",
"resourcePolicy": {
"resource": "workspace",
"version": "1",
"rules": [
{
"actions": ["create"],
"effect": "EFFECT_ALLOW",
"roles": ["super"]
}
]
}
}