Re: [PHP] module access rights
- Date: Sat, 19 Apr 2008 09:28:31 -0500
- From: Ken Kixmoeller <Kixjaguar@xxxxxxxxxxx>
- Subject: Re: [PHP] module access rights
Right. Thanks for the links. This type of approach is the basis of my software architecture.
Ken (BTW, don't forget to "Reply All" so your reply goes to the list, too). On Apr 19, 2008, at 9:03 AM, Tony Marston wrote:
What you are describing is a Role Based Access Control (RBAC) system, and itis not simple. Take a look athttp://www.tonymarston.net/php-mysql/role-based-access-control.html andhttp://www.tonymarston.net/php-mysql/menuguide/index.html Tony Marston http://www.tonymarston.net http://www.radicore.org-----Original Message----- From: Ken Kixmoeller.com [mailto:ken@xxxxxxxxxxxxxx] Sent: 19 April 2008 14:33 To: PHP General List Subject: Re: [PHP] module access rights On Apr 19, 2008, at 2:37 AM, Alain Roger wrote:Hi, i'm very surprised... i did not get any answer to myprevious post. isit 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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Prev by Date: Re: [PHP] module access rights
- Next by Date: [PHP] Double billing problem
- Previous by thread: [PHP] HTTP Server Written entirely in PHP ?
- Next by thread: [PHP] Double billing problem
- Index(es):