On Apr 19, 2008, at 2:37 AM, Alain Roger wrote:
Hi,
i'm very surprised... i did not get any answer to my previous post.
is it because it is good way to do it or because nobody knows ?
-----------------------------------
Hi,
i face now a little issue regarding how end user can access to some
modules
of my web portal.
Let imagine we have several modules (let say: mod1, mod 2, mod3)
and 2 users
(usr1, usr2).
i would like to use a simple way how to established access rights
for each
user to grant/forbidden access to modules...
Or maybe the answer is as complicated as the question seems simple.
I have my master application object. On __construct, it checks the
current user's rights from somewhere (a config file or a database,
for example), and instantiates the application based on the rights
profile.
Simple answer, but a lot of front-end work to implement.
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php