Skip to content

Commit b03660a

Browse files
committed
fix(cerbos): Correct schema references in policies
1 parent 2ada963 commit b03660a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cerbos/policies/resource_namespace.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ resourcePolicy:
4848

4949
schemas:
5050
principalSchema:
51-
ref: cerbos://schemas/principal.json
51+
ref: cerbos:///principal.json
5252
resourceSchema:
53-
ref: cerbos://schemas/namespace.json
53+
ref: cerbos:///namespace.json

cerbos/policies/resource_site.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ resourcePolicy:
6868

6969
schemas:
7070
principalSchema:
71-
ref: cerbos://schemas/principal.json
71+
ref: cerbos:///principal.json
7272
resourceSchema:
73-
ref: cerbos://schemas/site.json
73+
ref: cerbos:///site.json

cerbos/policies/resource_translation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ resourcePolicy:
7373

7474
schemas:
7575
principalSchema:
76-
ref: cerbos://schemas/principal.json
76+
ref: cerbos:///principal.json
7777
resourceSchema:
78-
ref: cerbos://schemas/translation.json
78+
ref: cerbos:///translation.json

cerbos/policies/resource_user_admin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ resourcePolicy:
4949
5050
schemas:
5151
principalSchema:
52-
ref: cerbos://schemas/principal.json
52+
ref: cerbos:///principal.json
5353
resourceSchema:
54-
ref: cerbos://schemas/user_admin.json
54+
ref: cerbos:///user_admin.json

0 commit comments

Comments
 (0)