Should authorized_scope
be exposed as a Rails helper method?
#205
shepmaster
started this conversation in
Ideas
Replies: 1 comment
-
Good question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
allowed_to?
is exposed as a helper method for views:action_policy/lib/action_policy/rails/controller.rb
Line 26 in ad92f07
Is there a strong reason that
authorized_scope
should not also be exposed?My specific context is a select menu that wants to list the related models that the current user can see.
Beta Was this translation helpful? Give feedback.
All reactions