Skip to content

Difference between :manage and :admin permissionset actions #4271

Discussion options

You must be logged in to vote

From the CanCanCan documentation linked in the OP I see that :manage is a special permission that

means literally any action, not only CRUD ones

In 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.

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

Answer selected by nbelzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants