-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

- --On 14.06.2002 10:32:53 +0200 pp wrote:

>> > Yes, but mgd_list_persons lists all persons whever You are logged as
>> > SG0 user or another SG. 
>> 
>> What you should get is a list of persons of the current sitegroup
>> merged with the persons from SG0. Exception: If you are a root level
>> user you see everything. This means you have to look at
>> MidgardPerson::sitegroup to determine what person you're currently
>> handling.
> 
> this quite understood as SG0 is transaprent, but should it be like that 
> for persons? Lets's say custom user may lists all admin superuser
> persons?

This merging behavoir holds true for all Midgard list functions that are
activated with no further parameters (mgd_list_topics(0) for example). If
you want to list all admin users of a certain sitegroup, determine the
group ID of the admin group (using mgd_get_sitegroup) and then use a
mgd_list_members to list all those persons. (Remeber that you get
Membership Records, not Person Records...)


>> > I didn't investigate it , but just noticed the behaviour of 'relog'
>> > option in admin interface.
>> 
>> Which is not working correctly with Mozilla...
> 
> with mozilla? I didn't noticed that working at all even in NN.
> As this option doesn't relog person indeed and even doesn't get person
> username for relog I propose to remove this option in Spider instead of
> simply logout, which will point You to the same. Just 401 page with
> browser prompt for login and pass. Besides this option only generate
> useless querry for list persons, which slows down admin interface when
> You are logged as superuser and have hundreds or even  thousands
> persons.

Oh, we talked about two different things. I talked about what Asgard
calls "relog", which is essentially a logout and which does not work with
Moz. I think this is also true for the logout out of OldAdmin.


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Caz2JPh4Kn6d5FYRAtlaAJ0bq2aAiPHCQO+2mDocVpVA14LusgCeL5mM
A/BWCwcFEBDQRmowHq7KaP0=
=z/jL
-----END PGP SIGNATURE-----


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

Reply via email to