casbin
casbin copied to clipboard
[Question]Can casbin support clear policy by domain?
Want to prioritize this issue? Try:
What's your scenario? What do you want to achieve? In my scenario, i have lots of domain. Each domain has lots of policy. After i made a modification on a policy under a domain, i've to load all policy under all domain to update casbin. So, is there any possible to support clear specify domain and load specify domain.
@tangyang9464 @closetool @sagilio
How do you modify the policies? If you modify through Casbin's APIs, there is no need to reload.
@lynnzhang89 can you use delete filtered policy API?
@lynnzhang89 use: https://casbin.io/docs/management-api#removefilteredpolicy , set domain as filter