cerbos icon indicating copy to clipboard operation
cerbos copied to clipboard

Implement compiler warnings

Open charithe opened this issue 3 years ago • 1 comments

Currently the compile stage only produces errors -- which cause the policy to be excluded from execution. However, there are certain problems that don't necessarily make the policy invalid (e.g. in a scoped policy set, each policy has a different schema reference). We should have a way to produce these warnings but nevertheless continue working as normal.

charithe avatar Feb 17 '22 16:02 charithe

Another case where a warning would be useful is deprecating CEL functions (https://github.com/cerbos/cerbos/issues/669).

haines avatar Feb 23 '22 17:02 haines