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

Hi i'm trying to use Enforce method but i don't know how to get it permissionId, modelId and resourceId any body please help me?

1views
3users
1 minread

permissionId is the Id field for a "permission" object

similar for others

@sihecate only permissionId is required. It will get the model and adapter from the fields of permission

1 / 4
Apr 2024