m

    Maggie Walker

    3 weeks ago
    Is there a
    not in
    operator, if I'm looking to create an EFFECT_ALLOW if there is not a specific key in a resource attribute?
    Charith (Cerbos)

    Charith (Cerbos)

    3 weeks ago
    You should be able to negate it with the
    !
    operator:
    ! (x in y)
    m

    Maggie Walker

    3 weeks ago
    got it, had some funkiness for a minute there but all good now, thanks!
    Charith (Cerbos)

    Charith (Cerbos)

    3 weeks ago
    We also have a REPL where you can quickly try things out: https://docs.cerbos.dev/cerbos/latest/cli/cerbos.html#repl
    m

    Maggie Walker

    3 weeks ago
    oh that rules