A Rails engine providing essential industry of Role-based access control.
See demo for now.
Add this line to your Gemfile:
gem 'rbac_core'Or you may want to include the gem directly from GitHub:
gem 'rbac_core', github: 'jasl-lab/rbac_core'And then execute:
$ bundleCopy migrations
$ bin/rails rbac_core:install:migrationsThen do migrate
$ bin/rails db:migrateClone the repository.
$ git clone https://github.com/jasl/rbac_core.gitChange directory
$ cd rbac_coreRun bundler
$ bundle installPreparing database
$ bin/rails db:migrateStart the Rails server
$ bin/rails sOpen your browser, and visit http://localhost:3000
Bug report or pull request are welcome.
- Fork it
- 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
Please write unit test with your code if necessary.
The gem is available as open source under the terms of the MIT License.