@hsluoyz Is there a way to create an enforcer by a CasbinAdapter?
@hsluoyz When a casbin adapter is added, it can be used to sync the policies by an enforcer initialized by the adapter. But the policies are not used in casdoor at all.
By now enforce apis create enforcers with a permission specified in the api params (permissionId/modelId/resourceId). If enforce apis provide a param like adapterId, we can use it to create an enforcer with the policies synced by the adapter.
create a github issue plz
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casdoor or view latest topics.
1 / 4
Jul 2023
