pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
Not Authentication, mind you.
Greeting Monks!
Is there a simple authorization module out there that anyone can recommend? I want to do simple role-based authorization (EG. you are a member of the Admin group, therefore you may Push the Big Red Button) in a Catalyst app and in a non-catalyst app. I want the two apps to be able to share the groups database, so something with an interface like Authen::Simple but with role-based authorization. EG, I would use it like this:
# ... if ( !authenticate($user,$pass) ) { die "You are not $user! Imposter!\n"; } if ( !authorized($user,'admin') ) { die "You may be $user, but you aren't allowed here!\n"; }
...i'm looking for a module to give me the 'authorized' function.
Thanks!
--Pileofrogs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple Authorization?
by Your Mother (Archbishop) on Mar 18, 2009 at 18:30 UTC | |
by pileofrogs (Priest) on Mar 18, 2009 at 19:01 UTC | |
by Your Mother (Archbishop) on Mar 18, 2009 at 21:20 UTC | |
by pileofrogs (Priest) on Mar 18, 2009 at 22:08 UTC | |
by Your Mother (Archbishop) on Mar 19, 2009 at 00:34 UTC | |
by pileofrogs (Priest) on Mar 18, 2009 at 22:54 UTC | |
|
Re: Simple Authorization?
by trwww (Priest) on Mar 18, 2009 at 18:15 UTC | |
|
Re: Simple Authorization?
by locked_user sundialsvc4 (Abbot) on Mar 18, 2009 at 21:48 UTC | |
by pileofrogs (Priest) on Mar 18, 2009 at 22:05 UTC | |
by locked_user sundialsvc4 (Abbot) on Mar 18, 2009 at 22:29 UTC | |
by pileofrogs (Priest) on Mar 19, 2009 at 03:13 UTC | |
|
Re: Simple Authorization?
by scorpio17 (Canon) on Mar 18, 2009 at 19:59 UTC |