> U put the finger on it !
>
> In fact, when i look in the database table 'persons', I have 2 'admin'
> usernames, one in SG0 and one in SG4.
That's fine.
> When I log in using 'admin*', I am in SG0, which is indicated in the main
> admin page. All users i tried to add are in SG0, so it should have worked
> but the function terminated in error. For exemple i was unable to add
> midgard administrator of SG0 in the new group. The new group was in SG0. Is
> it possible the check on SG and username be confused by the same username ?
I don't quite follow what is outlined above.
To make a user member of a group, both the user and the group must be in
the current sitegroup.
A username must be unique within one sitegroup. There's no confusion about
that; duplicate names are out. You can have the same username in separate
sitegroups though.
> In a second part, I insist on something that seems important to me, that
> functions indicate a more detailed status in the return code. On the same
> way, the default admin site is too silent about errors... know it takes
> time to setup all this and this is programmer's nightmare :) but it saves
> lots of time during use and debug ;p
I'm working on it.
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]