Difference between :manage
and :admin
permissionset actions
#4271
-
solidus/core/lib/spree/permission_sets/user_display.rb Lines 3 to 13 in a6c2cee Solidus often uses the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I'd have to check, but I think it's just an alias for |
Beta Was this translation helpful? Give feedback.
-
From the CanCanCan documentation linked in the OP I see that
In Solidus My understanding based on the CanCanCan documentation is that if a user has the |
Beta Was this translation helpful? Give feedback.
From the CanCanCan documentation linked in the OP I see that
:manage
is a special permission thatIn Solidus
:admin
is a custom defined action which is checked in the base backend controller and throughout the rest of the engine controllers when performing actions that require the highest level of permission.My understanding based on the CanCanCan documentation is that if a user has the
:manage
permission, they will also be able to:admin
a resource.