Open praswicaksono opened 8 years ago
Yeah, that's the tricky part - defining something more complex in the configuration would require a much more verbose structure to it. I'd been working on another library, PropAuth, that makes this easier on the code level but I'm not sure how it would integrate with Invoke and its config.
Yes, the library was designed to be AND
checks by default, but I'm definitely open to options for defining other relationships.
for example I have this config
In those config user will need in
Guest
ANDMember
, is this library designed that way? I think it would be better if user can access those route when it inGuest
orMember
group.What do you think?