rolify 1.0.0
Very simple Roles library without any authorization enforcement (built to use with cancan) supporting scope on resource: user.is_moderator?(Forum.first) => # return false if user is moderator of another Forum
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
~> 3.1.0.rc1
Development 相依性套件 (1):
sqlite3
>= 0