This is a Rails v4.0.2 starter app and can be used as a boilerplate for your own app.
Out-of-the-box features:
- Devise + Pundit for authorization and role based authentication.
- Bootstrap-3 integration.
- Dynamic role creation.
bundle rake db:setup
This will install the gems specified in Gemfile and create the tables in the database (please change the config/database.yml to set your configuration)
This gem performs role-based authorization through OO design and pure Ruby classes for a simple, robust and scaleable authorization system.
Currently only admin users are given all the access. You can add up more access definitions in policy class at app/policies
One default admin user is created. See config/application.yml for more settings.
You can add as many roles you want and define its access scopes in Policy classes. Currently only admin users are given the access of role creation.
- Add the test coverage.
Use this code as you want! HAPPY CODING !!