Re: Question about user management...
| From: | Jason Pruim | Date: | Mon, 10 Mar 2008 20:06:10 +0000 |
| Subject: | Re: Question about user management... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271227@lists.php.net to get a copy of this message | ||
On Mar 10, 2008, at 3:14 PM, Daniel Brown wrote:
On Mon, Mar 10, 2008 at 3:08 PM, Jason Pruim <japruim@raoset.com> wrote:Which makes sense for when my KeWl ApP goes public and gets l33t status! :) That's what we all hope for though right? :) -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424-9337 www.raoset.com japruim@raoset.comHi Everyone, Happy Monday to all of you! I am trying to think through a user management issue for a application I am working on. What I want to do, is be able to provide a multi user environment (All accessing the same page, but depending on company name they get different data) and be able to give certain people the ability to add/remove users. What I was thinking about doing was a combination of the company name (Which I set right now) and then a access level such as "50" for the "Owner" of the program, "40" for the "Managers" and "30" for the "user" of the program. also leaving me room to add other levels if required..I generally do the same basic thing for permission levels, but a reverse of what you're attempting to do. The superuser (AKA root, administrator, God, whatever) has GID 0, just like on a *NIX system. This is because it's the highest level you can reach, and 0 is the lowest real number you can use. Thus, you can add a virtually-infinite number of lesser users, as opposed to being limited to 50, as in your case.