Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum
M

Hello, I was going through the casbin documentation and I have a question about deleting role in RBAC model. I could not find any information in the documentation. What happens to policies if a role is deleted using this api https://casbin.org/docs/rbac-api/#deleterole ? All the policies applied to that role gets deleted as well? If not which API is used to bulk delete policies for a role before deleting the role?