https://cerbos.dev logo
#help
Title
# help
j

Jibran Saithi

07/14/2023, 7:55 AM
I'm trying to run the https://github.com/cerbos/demo-rest/tree/main example but it gives this error:
Copy code
cerbos.index	Index build failed	{"missing": [{"importing_file":"inventory_resource.yaml","desc":"Import 'store_roles' not found"},{"importing_file":"order_resource.yaml","desc":"Import 'store_roles' not found"}], "load_failures": [{"file":"store_roles.yaml","error":"file is not valid: [/: additionalProperties 'derived_roles' not allowed, /: missing properties: 'resourcePolicy', /: missing properties: 'principalPolicy', /: missing properties: 'derivedRoles']"}]}
c

Charith (Cerbos)

07/14/2023, 7:56 AM
👋 It's a recent change we introduced where we strictly validate the policies using a schema. I'll fix it. Thanks for pointing it out.
2 Views