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
As is, rejecting rules that overlap with built-in functions would be problematic since addition of any new built-in functions could potentially break existing policies. We definitely do not want that.
I'm not sure there is a great way around this. One option is to namespace all builtins under a reserved keyword (e.g., builtin) however that would need to be done over time in a backwards compatible manner.
Closing this for now because we can't reject polices that redefine built-in functions as that would make any new built-in function addition (potentially) backwards incompatible.
Running rego with rule name the same as builtin function will produce obscure error.
Expected Behavior
Forbid rule name that may hide builtin functions
Actual Behavior
Steps to Reproduce the Problem
https://play.openpolicyagent.org/p/5gNrsNDZBV
The text was updated successfully, but these errors were encountered: