fre, 19,.11.2004 kl. 16.24 +0100, skrev Medina Mennert:
> Hi all,
> 
> > Hi, what you do, is to use the 
> > mgd_auth_midgard function to change to a user that is in the sitegroup
> > you want to create a group for. 
> 
> Thanks for the quick answer, that will work for a start :)
> But I still cannot work out how Aegir does this trick.
Aegir logs into the the relevant sitegroup befor it creates the group. 

> I mean, when you first log in to Aegir as SG0 Root, you can create a new
> group and put persons in it, right? 

> How does this work if SG0Root is not allowed to create members?

> As far as I have understood the Aegir-Snippet, it uses normal
> mgd_create_member()...
Yes but as a _sitegroupuser_
> If I could reproduce the way this is done in Aegir, it would certainly save
> me tons of work and time...

take a look at the functions in AegirCore/lib/Auth

Tarjei


> Thankful for any hints,
> 
> Alex 
> 
-- 
Tarjei Huse <[EMAIL PROTECTED]>


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

Reply via email to