Project

cbac

0.0
No commit activity in last 3 years
No release in over 3 years
Simple authorization system for Rails applications. Allows you to develop applications with a mixed role based authorization and a context based authorization model. Does not supply authentication.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4
~> 5.0
 Project Readme

Context Based Access Control (cbac)

Easy to use, light-weight authorization system for Rails applications.

Context Based Access Control allows you to build a Rails application with both generic roles as well as context roles. The generic role part allows an application to authorize users with a conventional role system. The context part allows an application to authorize with a combination of the user credentials and the context of the requested action.

Install

The gem can be installed using the 'gem' command: gem install cbac

Please use the correct version of cbac in your Gemfile:

  • for Rails 3 and lower: gem 'cbac', '~> 0.6.10'
  • for Rails 4: gem 'cbac', '~> 0.7.0'
  • for Rails 5: gem 'cbac', '~> 0.8.0'

Usage

To use the gem, see the documentation at cbac.rubyforge.org.

License

This project is licensed under the MIT License. See the LICENSE.md file for details.