daociyiyou
unread,Jun 30, 2009, 4:07:17 AM6/30/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.