[JDEV] Auto roster population/lock some groups

Moore, Michael MMoore at osc.uscg.mil
Thu Sep 11 11:17:42 CDT 2003


That's what I've currently implemented: the autogenerated groups are
prefixed with MS- and users cannot modify any group or member of a group
that has that prefix, but I've been told they won't like that and to find
another way.

***************************************************
Michael Moore (mmoore at osc.uscg.mil) (304) 264-2652
Team CGCentral
United States Coast Guard Operations Systems Center
***************************************************

-----Original Message-----
From: Ulrich B. Staudinger [mailto:us at die-horde.de]
Sent: Thursday, September 11, 2003 12:08 PM
To: jdev at jabber.org
Subject: Re: [JDEV] Auto roster population/lock some groups


Moore, Michael wrote:

>Hi,
>
>I'm working on a jabber solution for the US Coast Guard. One feature they
>want is automatic roster population (no problem there). They also want to
>lock down the groups that were automatically populated so the user can't
>mess with them (not too hard) but here's the difficulty: they want to have
a
>column in the rostergroups table to mark that the group was automatically
>generated. Using jabberd 1.4.2 on Linux with xdb_sql and a mysql database
>but we will be moving to Solaris and Oracle soon though, with the client in
>Java (and I've not used large-scale Java before... whee!). 
>
>Then the client needs to block modification of those groups marked as
>auto-generated. I'm new to this whole project, I took over for someone a
few
>weeks back and I'm still trying to figure it all out.  The documentation
>I've read has confused me more than helped, and Google has not been my
>friend. Has anyone done anything like this (added stuff to the protocol)?
>Obviously the client needs to know how to handle it, but would it require
>changing the server source and rebuilding? Or just xdb_sql? Any pointers in
>the right direction would be appreciated.
>
>Thanks!
>
Just out of curiosity, why don't you block change from within the 
client? shouldn't be too hard if you have the sourcecode.

For example you can block editing of groups starting with * (an 
asterisk) - quite straight forward.

ulrich

http://greenthumb.jabberstudio.org

>
>***************************************************
>Michael Moore (mmoore at osc.uscg.mil) (304) 264-2652
>Team CGCentral
>United States Coast Guard Operations Systems Center
>***************************************************
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev
>
>  
>


-- 
Ulrich B. Staudinger
http://www.die-horde.de
email: us at die-horde.de
jid: uls at jabber.org

current project: REDHORN
http://redhorn.sourceforge.net


_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list