Skip to content

Possible to use authorize! with class instead of instance? #160

Answered by palkan
bjensen asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it's totally possible (that would try to use UserPolicy).

Updated the lookup chain docs to mention that explicitly: f216d2c

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bjensen
Comment options

Answer selected by bjensen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants