[psa-users] Feature Request?
Brought to you by:
koivi
From: Peter H. <pe...@pe...> - 2003-06-28 21:49:34
|
My homegrown system on an internal site isn't that good, but one thing it does (which doesn't seem quite as easy in phpsecurityadm) is a simple test of: Does the current user have X profile? This allows me to show sections of pages, depending on the profile of the user. E.g. if(current_user->profile == 99) show_module1(); else show_module2(); Actually, since I have a numerical security scale, it tends to be more: if(current_user->securityclearance > 9) show_module1(); else show_module2(); Is there an easy way to do this with phpsecurityadmin that I am just missing? |