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?
The rails-authorization-plugin doc does not show themselves very
clear and there is not tutorial by google.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---