Displaying 1 result from an estimated 1 matches for "is_fan_of".
2006 Jul 19
0
Authorization Plugin 1.0 rc3 + Test App
...e class or
instance method level using permit and permit?
* Authorization using roles for the entire application, a model class,
or an instance of a model (i.e., a particular object).
* Some english-like dynamic methods that draw on the defined roles.
You will be able to use methods like "user.is_fan_of angelina",
"user.is_fan_of_what", or "angelina.has_fans?", where a ''fan'' is only
defined in the roles table. Models also pick up has_* methods like
"group.has_moderators" (returns array of users who have role
''moderator'') and &q...