Project

rbac_core

0.01
No commit activity in last 3 years
No release in over 3 years
A Rails engine providing essential industry of Role-based access control
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

< 6.0, >= 4.2
 Project Readme

RBAC Core

A Rails engine providing essential industry of Role-based access control.

Usage

See demo for now.

Installation

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:

$ bundle

Copy migrations

$ bin/rails rbac_core:install:migrations

Then do migrate

$ bin/rails db:migrate

Demo

Clone the repository.

$ git clone https://github.com/jasl/rbac_core.git

Change directory

$ cd rbac_core

Run bundler

$ bundle install

Preparing database

$ bin/rails db:migrate

Start the Rails server

$ bin/rails s

Open your browser, and visit http://localhost:3000

Contributing

Bug report or pull request are welcome.

Make a pull request

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please write unit test with your code if necessary.

License

The gem is available as open source under the terms of the MIT License.