Gate works without the Authorizable trait?

Posted 3 years ago by unitedworx

anyone knows if Gate works fine without the Authorizable trait (that needs to be added on users model)?

its can method clashes with a can method provided with Zizaco/entrust and since i want to use policies in conjunction with the roles/permissions i have in place via Zizaco/entrust i want both to work fine.

p.s i understand that by not adding the Authorizable trait i wont be able to use the can method on users however i dont plan on doing so since i plan on doing all my policy checks via the Gate facade!

Please sign in or create an account to participate in this conversation.