Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"rego_type_error: multiple default rules" should include all locations where found #6897

Open
anderseknert opened this issue Jul 29, 2024 · 0 comments

Comments

@anderseknert
Copy link
Member

1 error occurred: /path/to/authz.rego:5: rego_type_error: multiple default rules data.authz.allow found

This error commonly happens when more files than intended are included for compilation. The error message however isn't that helpful, as it only provides one of the locations. We should fix this so that all locations are reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant