[Standards-JIG] Re: Changing default role of a user(JEP0045)
rahul.shah at sun.com
Wed May 18 11:43:57 UTC 2005
Just to clarify my requirements consider a situation where all the
employees of the organization can participate in a muc room. Now there
are some employees who are temporary employees and the administrator
wants them to just read the messages i.e. a visitor role and all
remaining employees can post the message to the room i.e. particpant
role. There are now 2 options to achieve this:
1. Create a moderated room and change the affiliations of all the
permanent employees to member
2. Create a unmoderated room and assign a default role of visitor to all
the temporary employees.
Ideally as an admin I would like to follow option 2 as the number of
temporary employees are far less then the permanent employees and to
acheive that I need an option to assign a default role to a certain set
of users in unmoderated room.
Nolan Eakins wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Rahul Shah wrote:
>| <iq from='crone1 at shakespeare.lit/desktop'
>| to='darkcave at macbeth.shakespeare.lit'
>| <query xmlns='http://jabber.org/protocol/muc#admin'>
>| <item affiliation='none'
>| jid='hag66 at shakespeare.lit'/>
>| 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
>-----END PGP SIGNATURE-----
>Standards-JIG mailing list
>Standards-JIG at jabber.org
More information about the Standards