Date: 05/13/00
- Next message: Michael Anthon: "Re: [phplib] SQL (mSQL) question"
- Previous message: Joel Sutton: "Re: [phplib] a good tutorial"
- Next in thread: Arno A. Karner: "Re: [phplib] Modifying perm_sel() in perm"
- Reply: Arno A. Karner: "Re: [phplib] Modifying perm_sel() in perm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi.
I'm writing a system for user managementusing PHPLib and I've run into a
small prob.
Users of a certain level (operator) can add users while those below
cannot. TThere is another level above operator (superuser).
My problem is that an operator can edit their own account, as well as
another users, and increase their security level to 'superuser' as the
drop box for selecting the user level is built using $perm->perm_sel().
Is there a way to extend the code to only display a drop box using the
current user level and below? My permissions setup is:
var $permissions = array(
"user" => 1,
"authority" => 3,
"helpdesk" => 7,
"operator" => 15,
"superuser" => 31
);
I've had a look at the code but the whole bit-shifting thing is a bit of
a blck hole to me.
Cheers,
Graeme
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Michael Anthon: "Re: [phplib] SQL (mSQL) question"
- Previous message: Joel Sutton: "Re: [phplib] a good tutorial"
- Next in thread: Arno A. Karner: "Re: [phplib] Modifying perm_sel() in perm"
- Reply: Arno A. Karner: "Re: [phplib] Modifying perm_sel() in perm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

