[phplib] have_perm in auth_validatelogin() From: Daniel Bondurant (bondu <email protected>)
Date: 01/24/01

have two sites runing off the same user database.
One is for users, and the other for admins. It was much easier to set up
this way.

for the admin site, I need too add

if ($perm->have_perm("admin")
  return false;

or something equivalent to

$auth->auth_validatelogin();

I have several levels or $perm->$permission above admin, and I need to let
them all in.
but perm is not defined until after auth is run

How would I go about doing this?

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>