RE: [xwiki-users] assigning users to groups does not work?
Hello, Are you sure that user name as it appears in user admin page (Xwiki.XWikiUsers) is exactly the same as in group admin page ?? (Xwiki.XWikiAdminGroup) I don't think names with ':' are suitable name. For instance in my wiki the names are of this form: 'XWiki.jbousque' in groups users list.
-----Original Message----- From: Tchize [mailto:tchize@myrealbox.com] Sent: mardi 16 mai 2006 10:55 To: xwiki-users@objectweb.org Subject: [xwiki-users] assigning users to groups does not work?
Hello,
am trying to assign user to a group. I go in the web interface and add a user. I go to /xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit table'. The interface then shows this when i query the group:
Group members Member xwiki:delbd XWiki.delbd xwiki:XWiki.delbd delbd
However, if i log with this user, he doesn't appear to be part of the groups, he doesn't have the rights associated with the group.
I did a step by step run of xwiki code in eclipse in XWikiRightServiceImpl and i found in line 300 that Collection glist = groupService.listGroupsForUser(name, context); return an empty list for user 'delbd'
What is the problem? Did i fail in some way?
Well it seems to be a bug in xwiki. The internal cached user groups where not refreshed :( After a start / stop, the group was taken into account. This is *very* strange. btw, you might notice i just wrote the various combination to be sure it was not my spelling the problem. According to code, simply 'delbd' is enough. the allowed notation seems to be in code [[xwiki:]XWiki.]delbd Again, it was a bug of xwiki internal cache not being cleaned after i edited the group. BOUSQUET Jeremie wrote:
Hello,
Are you sure that user name as it appears in user admin page (Xwiki.XWikiUsers) is exactly the same as in group admin page ?? (Xwiki.XWikiAdminGroup)
I don't think names with ':' are suitable name.
For instance in my wiki the names are of this form: 'XWiki.jbousque' in groups users list.
-----Original Message----- From: Tchize [mailto:tchize@myrealbox.com] Sent: mardi 16 mai 2006 10:55 To: xwiki-users@objectweb.org Subject: [xwiki-users] assigning users to groups does not work?
Hello,
am trying to assign user to a group. I go in the web interface and add a user. I go to /xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit table'. The interface then shows this when i query the group:
Group members Member xwiki:delbd XWiki.delbd xwiki:XWiki.delbd delbd
However, if i log with this user, he doesn't appear to be part of the groups, he doesn't have the rights associated with the group.
I did a step by step run of xwiki code in eclipse in XWikiRightServiceImpl and i found in line 300 that Collection glist = groupService.listGroupsForUser(name, context); return an empty list for user 'delbd'
What is the problem? Did i fail in some way?
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi, About the cache issue, see: http://mail-archive.objectweb.org/xwiki-users/2006-02/msg00103.html (you don't need to restart XWiki) I believe the fix for this will be in the next version. Regards, Robin On 16/05/06, Tchize <tchize@myrealbox.com> wrote:
Well it seems to be a bug in xwiki. The internal cached user groups where not refreshed :( After a start / stop, the group was taken into account. This is *very* strange. btw, you might notice i just wrote the various combination to be sure it was not my spelling the problem. According to code, simply 'delbd' is enough. the allowed notation seems to be in code [[xwiki:]XWiki.]delbd
Again, it was a bug of xwiki internal cache not being cleaned after i edited the group.
BOUSQUET Jeremie wrote:
Hello,
Are you sure that user name as it appears in user admin page (Xwiki.XWikiUsers) is exactly the same as in group admin page ?? (Xwiki.XWikiAdminGroup)
I don't think names with ':' are suitable name.
For instance in my wiki the names are of this form: 'XWiki.jbousque' in groups users list.
-----Original Message----- From: Tchize [mailto:tchize@myrealbox.com] Sent: mardi 16 mai 2006 10:55 To: xwiki-users@objectweb.org Subject: [xwiki-users] assigning users to groups does not work?
Hello,
am trying to assign user to a group. I go in the web interface and add a user. I go to /xwiki/bin/view/XWiki/XWikiAdminGroup and click on 'edit table'. The interface then shows this when i query the group:
Group members Member xwiki:delbd XWiki.delbd xwiki:XWiki.delbd delbd
However, if i log with this user, he doesn't appear to be part of the groups, he doesn't have the rights associated with the group.
I did a step by step run of xwiki code in eclipse in XWikiRightServiceImpl and i found in line 300 that Collection glist = groupService.listGroupsForUser(name, context); return an empty list for user 'delbd'
What is the problem? Did i fail in some way?
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
participants (3)
-
BOUSQUET Jeremie -
Robin Fernandes -
Tchize