You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a policy repo with the structure below, where the policy lives in content/src, running policy build . from the root of the repo results in the following error:
build failed: failed to build opa policy bundle: 3 errors occurred:
src/policies/rebac.check.rego:14: rego_type_error: undefined function ds.check_relation
src/policies/rebac.check_permission.rego:13: rego_type_error: undefined function ds.check_permission
src/policies/rebac.check_relation.rego:13: rego_type_error: undefined function ds.check_relation
The reason for the error is that the .manifest file isn't in the root, it's in content/src but the error message doesn't point users to the cause of the failure.
Given a policy repo with the structure below, where the policy lives in
content/src
, runningpolicy build .
from the root of the repo results in the following error:The reason for the error is that the
.manifest
file isn't in the root, it's incontent/src
but the error message doesn't point users to the cause of the failure.Repo structure:
The text was updated successfully, but these errors were encountered: