Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Implemention of Access Controlby arcnon (Monk) |
on Nov 02, 2007 at 14:52 UTC ( [id://648659]=note: print w/replies, xml ) | Need Help?? |
when you login successfully create a profile for that user. In that profile I give a access level. Usually the columns from a user table in my database. Next create a hash with a "link_name" => "access_level" relationship. When building your menu... On a side note I use this method BUT it can turn into quite a mess depending on the complexity of the access condtional so plan carefully.
In Section
Seekers of Perl Wisdom
|
|