Advanced user roles for Solidus.
Ruby HTML CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
acreilly Merge pull request #15 from ccarruitero/compatibility_fix
keep compatibility with solidus < 2.5
Latest commit 23061be Jun 1, 2018


Build Status

SolidusUserRoles gives an admin the ability to create custom roles for their employees to restrict or allow access to certain sections in the admin panel.


Add solidus_user_roles to your Gemfile:

gem 'solidus_user_roles'

Bundle your dependencies and run the installation generator:

bundle exec rails g solidus_user_roles:install

Remember to seed or run:

rake solidus_user_roles:load_seeds

Admin Panel

An admin is the only user who has the ability to add or remove roles from other users. image image image


First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_user_roles/factories'

Copyright (c) 2016 [name of extension creator], released under the New BSD License