Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
/ cbac Public archive
forked from meerman/cbac

Authorization system for Ruby on Rails applications. Handles security at the controller and model level. Easy to use and with built-in administration system.

License

Notifications You must be signed in to change notification settings

ogd-software/cbac

 
 

Repository files navigation

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.

About

Authorization system for Ruby on Rails applications. Handles security at the controller and model level. Easy to use and with built-in administration system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 93.8%
  • HTML 5.7%
  • CSS 0.5%