This gem works on the most basic ruby classes. Its only dependency is activesupport for some string and inflector functionality. GenericAuth is very easy to use, simply create a rules file and your class methods are automatically wrapped to invoke authorization methods before they are run. You must set the user which must respond to a roles method. Your authorized classes must also specify which methods should be authorized (generic_auth_on method) as an array of symbols (see specs). Other than that, its automatic
Required Ruby Version
None
Authors
Chris McLeod
Versions
-
0.1.4
-
source
- 0.1.4 source August 20, 2012 (5 KB)
-
-
0.1.1
-
source
- 0.1.1 source August 20, 2012 (5 KB)
-