Project

role-auth

0.0
No commit activity in last 3 years
No release in over 3 years
Rolebased authorization
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

role-auth

there is no inheritance between permissions created within a role block

there is inheritance between task definitions

Installation

Add this line to your application's Gemfile:

gem 'sequel-localize'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sequel-localize

Usage

TODO: Write usage instructions here

Assumptions

  • changes to the object are finished before the update hook ** merb before: Filters are executed in order of definition
  • standard REST Controller
  • on scopes defined on the Model

Contributing

  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

TODO

  • give possibility to inspect rules ** Hints why it failed ** nice Printout of ruby code
  • docs
  • publish

Ideas

  • Adapter specific way of finding roles
  • custom aliases

Notes

  • Inheritance between parts of roles is bad. It can have unintended side effects.

Copyright

Copyright (c) 2010 Jonas von Andrian. See LICENSE for details.