¿Multiple policy definition?
bpuig opened this issue · 6 comments
bpuig commented
Hello,
I'm on a situation that sometimes I have more parameters for the policies, can this be made like in documentation? I can't figure out the way to make it work. It always tells me I provided less parameters.
[policy_definition]
p = sub, obj, act
p2 = sub, act
Thanks
bpuig commented
The package won, I was unable to figure anything out about multiple policies and matchers and now my brain is melt 😩
bpuig commented
And any suggestion on how to eval() an object? It only allows strings as parameters. Thanks in advance, I've had 2 rough days trying to figure out how everything works
leeqvip commented
@bpuig I recommend you to refer to this tutorial to get started: https://github.com/php-casbin/casbin-tutorials