v

    Viet Au

    1 month ago
    Hi, When storing policies in a database I can see that the policy table has a disabled column that defaults to false. Is there a way of setting this through the admin api?
    Charith (Cerbos)

    Charith (Cerbos)

    1 month ago
    Yes. You have to re-submit the policy with the
    disabled
    field set to
    true
    in it. You can add it just after the
    apiVersion
    field. https://docs.cerbos.dev/cerbos/latest/policies/authoring_tips.html
    v

    Viet Au

    1 month ago
    got it, miss it going through the docs. It's quite an important feature maybe it should stand out a bit more.