Upload
vinsol
View
2.221
Download
4
Embed Size (px)
Citation preview
Spree Admin Roles and Access
● Admin Creates New Roles○ Manage permissions for the role
○ Assign roles to other admins
● Admin can restrict access to certain sections● Based on CanCanCan gem
Permission Levels
● Default Permission
○ Required to perform actions on customer facing site, like placing an
order etc.
○ Every role should have this permission
● Default Admin Permission○ Required to access the admin section i.e. '/admin' urls
● Manage All ○ SuperAdmin permission level
○ With this permission admin can access all sections in admin
Permission Examples
● can-manage-spree/product
○ Admin can perform every action on Spree::Product
● can-update-all
○ Admin can update all models
● can-update-spree/product
○ Admin can update only products
● can-update-spree/product-price
○ Admin can update only price of products
Download & More...
Download Spree Admin Roles and Access[1]
Detailed Article Spree Admin Roles and Access[2]
Get insights of your store with Spree Admin Insights[3]
Other Recent Extensions Published By Vinsol[4]
[1] http://spreecommerce-extensions.com/extensions/spreecommerce-admin-roles-and-access [2] http://vinsol.com/spreecommerce-admin-roles-and-access [3] http://vinsol.com/spreecommerce-admin-insights [4] http://www.slideshare.net/vinsolslides/spree-commerce-extensions
Follow us
@the_vinsol
@thevinsol
VinSol
http://vinsol.com/