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

can i have 2 policies defined in one model.conf file, for example if one policy will look like p = sub, dom, obj, act and other will look like p = sub, dom, entity, entityNo, obj, act. if yes then how would my request should look like?

1views
2users
1 minread

for 2 models, do i need 2 tables in the db too, or just 1 casbin_rule table would be sufficient?

can you share any implementation of the same too. Thank you

1 / 5
Nov 2024