This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
7 Replies Last post: Mar 6, 2008 8:46 AM by wroot  
Daniel Madruga Bronze 20 posts since
Feb 12, 2008
Currently Being Moderated

Mar 5, 2008 11:09 AM

Shared groups are not visible in members' rosters

Hey ho buddies!

I'm working on the integration of Openfire with a web system that uses

a MySQL DB to keep users' info. I've integrated the auth, users' info

and groups following the instructions available on the Custom Database

Integration Guide. That works like a charm! BUT when I log into

Openfire using Spark I can't see the groups of the user! I took a look

at previous posts related to this issue and I figured out that in order

to make groups available on members' rosters it's necessary to set

"Enable contact list group sharing" in the Contact List (Roster)

Sharing box of the Edit Group area of the Admin Console. But in this

very box it's written: "By default, this

group will only appear in the contact lists of the group's members.".

So, as far as I could understand, if "bbking" is a member of the

BluesGroup group, whenever I log in as "bbking" this group must be on

my roster even if the "Enable contact list group sharing" is not

set, since "bbking" is a MEMBER and BY DEFAULT the group will appear in

the contact lists of the group's members. Or I misunderstood the

sentence?

Is there a way to make this "default" behavior really "default"?

 

Thanks a lot!!!

wroot KeyContributor 3,467 posts since
Jan 24, 2005
Currently Being Moderated
Mar 5, 2008 1:02 PM in response to: Daniel Madruga
Re: Shared groups are not visible in members' rosters

This sentence is in the Contact List (Roster) Sharing box, so it speaks about sharing behaviors. This is the default behavior of Enabled roster sharing. There would be no sense if sharing would be working without even enabling it. Moreover, a group can show up in roster if display name is set, in Openfire. And you cant set it without enabling roster sharing.

Daryl Herzmann KeyContributor 469 posts since
Mar 12, 2005
Currently Being Moderated
Mar 5, 2008 2:43 PM in response to: Daniel Madruga
Re: Shared groups are not visible in members' rosters

Hi dmadruga,

 

I've bugged the Openfire devels about this very issue a number of times.  I can't seem to find the forum post about it currently.  The "By default" is very misleading and I wish they would reword it. I have to educate new openfire admins every time of this quirk

 

 

 

daryl

 

 

Edit: Aha, found it:  http://www.igniterealtime.org/community/thread/27513

wroot KeyContributor 3,467 posts since
Jan 24, 2005
Currently Being Moderated
Mar 6, 2008 2:22 AM in response to: Daniel Madruga
Re: Shared groups are not visible in members' rosters

I agree that that message can be more clarified, though it has never missleaded me (and i dont recall anyone else complaining in forums).

 

dramadruga, server software cant be adjusted for any specific scenario, which yours is. Some sysadmin wouldnt need automatical sharing of groups, so one will have to go to every group and uncheck that checkbox.

 

Developers, of course can create some option in server setup pages, to turn on groups sharing automaticly for all created and existing groups automaticly. But group sharing is not a xmpp/jabber standard, this is a custom openfore feature, so probably they dont want to make it a default. Another problem could be because of current architecture. As i said, shared group need Display name. And you can set it only in group properties. So you still have to go to group properties after you have created it. Also you have to go to group properties to fill it with users. 500 times, if you have created 500 groups

 

Another option could be a page with groups list and checkboxes "Share it" near them. So you could select only groups (or "check All") you want to enable sharing. But what to do with Display name? Maybe it could set a Display name the same as group's name automaticly.

 

Personally i have groups named shortly and based on functionality, departments etc. (e.g. man_sales_1floor). And Display name could be "Managers/Sales Managers - 1st floor" (this will look as nested group "Sales Managers - 1st floor" in "Managers" group in Exodus). I dont want groups to show up in groups list with such complex long names. Especially if i use nesting.

 

So, it's easy to change the description. But everything else is more complicated than it can look like.

wroot KeyContributor 3,467 posts since
Jan 24, 2005
Currently Being Moderated
Mar 6, 2008 8:46 AM in response to: Daniel Madruga
Re: Shared groups are not visible in members' rosters

Glad for you. As about nesting, i dont recall any documentation about this (maybe it2000 have described it in some of his documents about Spark, try searching in community). Nesting can be set while setting your group's name. With shared groups that would be a display name. Some clients support nesting, so they use special symbol to separate nested parts. Exodus uses "/" (can be changed) by default. So, if you specify name "Test/Support" (without quotations) for a shared group, in Exodus you'll see virtual group Test and Support group as a part or Test. With Spark you should use " :: " (without quotations, but with spaces) as a delimiter. But nesting in Spark is a bit broken:

 

http://www.igniterealtime.org/community/thread/24858?tstart=50

More Like This

  • Retrieving data ...