Skip to content

acreilly/solidus_user_roles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolidusUserRoles

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.

Installation

Add solidus_user_roles to your Gemfile:

gem 'solidus_user_roles'

Bundle your dependencies and run the installation generator:

bundle
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

Testing

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

About

Advanced user roles for Solidus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 68.4%
  • HTML 28.7%
  • CSS 1.5%
  • JavaScript 1.4%