Ingo Herz wrote:
> At 12:00 06.02.01 +0100, you wrote:
>
>> Emiliano wrote:
>>> David? mgd_is_sitegroup_owner does indeed not exist. Is this generated
>>> code?
>>> This probably needs to be mgd_isroot or somesuch. Ingo, could you submit
>>> a bugreport?
>>
>> Well, that is an Asgard bug (generated ? yeah, cut'n'paste
>> hand-generated ;).
>>
>> Ingo, did you log as 'root with user privilege' or really as 'user of
>> a sitegroup' ??
>
>
> I get this error if I login as "user+SG". If log as "admin*SG" all runs
> well
> and SG props are shown. Drop me a note if you can reproduce this behaviour
> and I will submit a bugreport.
ok, it's definitly reproduceable...
If you want to fix it on your current Asgard, edit the snippet
/Asgard/Functions/missing and change the function
asgard_is_sitegroup_owner to:
function asgard_is_sitegroup_owner($sitegroup) {
global $midgard;
if(!mgd_has_sitegroups()) return false;
if($midgard->root) {
return true;
}
return false;
}
And it would be great if you file a bug report and insert this code in
the description ;)
>
> thanks for your help
>
Thanks for *your* help ;)
> regards,
> Ingo
>
>
--
Best Regards,
David Guerizec Open Source Developer
Aurora R&D [EMAIL PROTECTED]
Midgard core developer http://www.midgard-project.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]