Help needed writing a cel expression for a caveat #1833
-
Say, my caveat looks like following:
Sample: I'm finding it a challenge to come up with a cel expression that, for every (key, value) pair in the expected map,:
Can you please guide me on how to go about this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@vmendiratta 👋🏻 we created a custom CEL macro function for this, I think it should do what you expect:
See this example in SpiceDB tests |
Beta Was this translation helpful? Give feedback.
@vmendiratta 👋🏻 we created a custom CEL macro function for this, I think it should do what you expect:
See this example in SpiceDB tests