[Standards-JIG] Re: Changing default role of a user(JEP0045)

Nolan Eakins sneakin at semanticgap.com
Wed May 18 07:45:01 UTC 2005


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

Rahul Shah wrote:
| Hi,
| <iq from='crone1 at shakespeare.lit/desktop'
|     id='member1'
|     to='darkcave at macbeth.shakespeare.lit'
|     type='set'>
|   <query xmlns='http://jabber.org/protocol/muc#admin'>
|     <item affiliation='none'
| 	  role='visitor'
|           jid='hag66 at shakespeare.lit'/>
|   </query>
| </iq>
|
| Here darkcave is a unmoderated room and the admin user is trying to set
| a 'none' affiliation alongwith a default role as 'visitor' for user
| hag66 at shakespeare.lit. JEP 45 does not have any examples to show that it
| can be done niether are their any statements denying this. Can anyone
| confirm my findings?

If the room is unmoderated then the visitor role is pretty much useless,
but I would probably expect the affiliation to be changed and then that
occupant's role to what is specified in the request, assuming the role
change is valid for that affiliation.

I also don't see a possible UI for this instance either. Even with the
UI I made for changing roles and affiliations, with my liberal
interpretation of MUC, users can only change a role OR an affiliation.
Never both in the same request. This case would most likely only be
encountered when a user, like you, is feeding it into an XML console.

| If people on this forum agree on this way of setting the default roles
| then it will be good to update the JEP with some examples.

Setting default roles should be left to the room's configure form and
what's specified in the JEP IMO.

- - Nolan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCivJ9huPszQVSPEARAjBxAJ996ynvNh2ZhgUAPll+H7DYRaoSNgCgs0zr
/ATNiG12dUgtJNbsiiJWbz4=
=TK+5
-----END PGP SIGNATURE-----




More information about the Standards mailing list