Hi XWiki developers,
I'm using LDAP to authentificate users for several virtual wikis. I'm using a
single LDAP a base for all the wikis. The problem I had is that when a user
logged on a wiki he was only added on the wiki he logged even if my
authentification is unique. So that's difficult to manage the access rights
if I have to look for the user page.
So, when we use virtual wikis and LDAP authentification, I propose that users
should be added in the wiki where the LDAP has been configured:
- 1st case if the authentification has been configured in the preferences of
the Main Wiki or in the xwiki.cfg file, the users should be added in the Main
Wiki.
-2nd case if the authentification has been configured in the preferences of a
Virtual Wiki, the users should be added in the Virtual Wiki on which the user
is logging.
By the way, to prevent access right problem, after having creating the user
XWiki should flush the cache.
Here is attached a patch that I've tested on my wikis with the 1st case only
that should do this.
Regards.
--
Xavier MOGHRABI - Consortium ObjectWeb
Email : xavier.moghrabi at
objectweb.org
Phone : +33 4 76 61 52 35