> 1. I put uid and pwd in an external db becuse I did not want the users 
> to be able to logon to the admin site. Also, I didn't find a working 
> mgd_get_person_by_name that could be used for this. Maybe we should 
> think of some secondary loginfunctions for midgard?

To prevent the users from accessing your admin site you can add some
code like

$_midgard = mgd_get_midgard();
$_user = mgd_get_person($_midgard->user);

if (!in_array($_user->username,array("list","of","trusted","users")))
   exit ("Access denied.");

to admin and asgard.



cu Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to