Date: 09/13/00
- Next message: Jesse Swensen: "Re: [phplib] A different Perm scheme"
- Previous message: Nico Alberti: "[phplib] A different Perm scheme"
- In reply to: Nico Alberti: "[phplib] A different Perm scheme"
- Next in thread: Jesse Swensen: "Re: [phplib] A different Perm scheme"
- Reply: Jesse Swensen: "Re: [phplib] A different Perm scheme"
- Reply: Rex Byrns: "RE: [phplib] A different Perm scheme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Does anybody know an authorization scheme to make a page with, for
> example
>
> $perm->check("admin", "user")
>
> be accessible with people with admin OR user rights?
Nico,
I believe the following will do what you want:
$perm->check("admin,user")
R.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Jesse Swensen: "Re: [phplib] A different Perm scheme"
- Previous message: Nico Alberti: "[phplib] A different Perm scheme"
- In reply to: Nico Alberti: "[phplib] A different Perm scheme"
- Next in thread: Jesse Swensen: "Re: [phplib] A different Perm scheme"
- Reply: Jesse Swensen: "Re: [phplib] A different Perm scheme"
- Reply: Rex Byrns: "RE: [phplib] A different Perm scheme"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

