is there, at present, a way to delete a policy whe...
# help
m
is there, at present, a way to delete a policy when using the postgres backend? i don’t see a delete endpoint for policies in the admin api docs, and the schema doesn’t permit me to persist a policy with empty actions or rules. based on that it would seem my only options are persisting a single action/rule that intentionally does nothing, or deleting from the db manually, neither of which seem like great options
c
Right now, the way to ignore a policy is to mark it as disabled. Set
disabled: true
(https://docs.cerbos.dev/cerbos/latest/policies/index.html#_policy_authoring_tips)
m
awesome, thanks! missed that
👍 1