Hi, When storing policies in a database I can see ...
# community
v
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?
c
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
got it, miss it going through the docs. It's quite an important feature maybe it should stand out a bit more.