The Authorization plugin adds a flexible mechanism for authorization. It differs from other authorization systems in the following ways: (1) You can specify roles programmatically with model code or use a mixin to keep roles in a database. (2) The plugin uses a clean language for specifying authorization expressions. (3) Ability to handle roles on instances of a model. (4) Rights are explicitly declared in controller and view code. (5) Different levels of authorization complexity are provided through mixins available with the plugin. If you don’t want to use the database for authorization, you mixin a HardwiredRoles module. If you want full database support for roles on model instances, you mixin the ObjectRolesTable module.
Please see the home page for more information:
http://code.google.com/p/rails-authorization-plugin/
Git repository:
http://github.com/DocSavage/rails-authorization-plugin
SVN Mirror:
http://rails-authorization-plugin.googlecode.com/svn/trunk/
The plugin is under a MIT license
The Authorization plugin adds a flexible mechanism for authorization. It differs from other authorization systems in the following ways: (1) You can specify roles programmatically with model code or use a mixin to keep roles in a database. (2) The plugin uses a clean language for specifying authorization expressions. (3) Ability to handle roles on instances of a model. (4) Rights are explicitly declared in controller and view code. (5) Different levels of authorization complexity are provided through mixins available with the plugin. If you don’t want to use the database for authorization, you mixin a HardwiredRoles module. If you want full database support for roles on model instances, you mixin the ObjectRolesTable module.
Please see the home page for more information:
http://code.google.com/p/rails-authorization-plugin/
Git repository:
http://github.com/DocSavage/rails-authorization-plugin
SVN Mirror:
http://rails-authorization-plugin.googlecode.com/svn/trunk/
The plugin is under a MIT license