i am looking for the same thing, dont want to use batch, found this documantation. https://casbin.org/docs/syntax-for-models#special-grammer
1views
1 minread
[matchers]
m = (p.obj in r.sub.roles) && p.act == r.act
request: {name: 'alice', roles: ['data1','b']}, data1, read
you can try it in the editor for acl
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casbin or view latest topics.
1 / 2
Jul 2023
