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?
The rails-authorization-plugin doc does not show themselves very
clear and there is not tutorial by google.

anyone help?

The most funny answer i ever had. Thanks,Colin L.

2009/6/30 daociyiyou [email protected]:

anyone help?

Three hours is not really long enough to wait, a third of the world is
asleep and another third is working. Most of the rest don’t know what
RoR is which leaves us with me apparently, and I don’t know the
answer. With a little patience someone who does know the answer may
come along.

Colin

Thank you! I am reading it now.

2009/6/30 daociyiyou [email protected]:

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.

I still don’t know about this plugin I am afraid but have you seen the
instructions at

Colin