rlb3 has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I think I just need someone to smack me on the head and tell me this is a bad idea so I can move on. What I've been thinking about is an Attribute::Handler that controls user access to a subroutine or method. It would look some thing like this:
read_log('failed'); slurp_shadow(); sub read_log :access_list('rlb3','root') { ... } sub slurp_shadow :access_root { ... }
Is this as dumb an idea as I think or is there some hope?
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: User access controlled by subroutine attribute.
by chromatic (Archbishop) on Aug 14, 2006 at 21:25 UTC | |
by rlb3 (Deacon) on Aug 14, 2006 at 21:39 UTC | |
by ikegami (Patriarch) on Aug 14, 2006 at 21:45 UTC | |
by rlb3 (Deacon) on Aug 14, 2006 at 21:49 UTC | |
by gellyfish (Monsignor) on Aug 15, 2006 at 08:06 UTC | |
|