I'm trying to run the <https://github.com/cerbos/d...
# help
j
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
👋 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.