On Sat, Oct 16, 2010 at 3:08 PM, swartz <netv...@gmail.com> wrote:
> I have a custom auth-system based on authlogic (based largely on
> reader extension).
> I have two roles: regular users and moderators.
> I also have two extra pages types, one is for moderators only, the
> other is for either.
>
> Whats would be recommended way to require certain user role to access
> a particular page type?
> Should I define a custom process() method for each page or is there a
> better way?
>

I haven't tried this myself.
You could create a custom process, you could perhaps create a rack
session and use http://github.com/hassox/warden/wiki/Setup


-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338

Reply via email to