Permission Management is a Rails engine in order to simpliy permission mangement process. It is built on top of cancan gem.
Add this line to your application's Gemfile:
gem 'permission_management'
And then execute:
$ bundle
Then run
$ bundle exec rails g permission_management:install
To install the relative files.
Add the permission management link to your application. You can use this url helper.
permission_management_engine.permission_management_user_roles_path
- Fork it ( http://github.com//permission_management/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request