about use of this plugin

1 view
Skip to first unread message

daociyiyou

unread,
Jun 30, 2009, 4:07:17 AM6/30/09
to Rails Authorization Plugin
I am sure i have configured the plugin well,but not know how to use
it
properly.
first: set role using has_role or accept role method.
second:permit or permit? methods is used to check or set role?
I think they are used for checking,if true for a specific role,run
the
codes in the block of the method,if not,redirect to access denied
page,right? If what i think is right,what is has_role? method?

There is not tutorial by google.
Reply all
Reply to author
Forward
0 new messages