Hi, 2011/3/29 Ramon Gomes Brandão - SERINT <ramon.bran...@tjdft.jus.br>: > Hi everybody, > > I'm using LDAP for login into XWiki (MS AD), it works very well. But there's > something I'll need to change: when a user is editing some page's access > rights, when he/she selects the "User" radio button, the list that appears is > based on the user's objetc names (that came from the sAMAccountName LDAP > field). Since our login field (and the username) is the registering number on > our company, the user's list on the access rights appears as a bunch of > numbers, and not the users' names, what makes it difficult to the author > guess which one is to be granted the desired right. I would like that the > "first_name" field (or another one from the user's object, mapped from LDAP) > is shown on this list. I've been looking around the rightsUI.vm and > usersandgroups.js, but could not figure out how to do this. I'm using XE > 3.0RC1.
There is actually no way to configure which field is used to create the user page right now, the uid is used to avoid collisions as much as possible. You could create an issue on jira asking for this feature but I think noone will have time very soon to implement it. But If you have some experience with java and LDAP and want to try implementing it I would be glad answering any question you have. > > Any ideas? > > Regards, > > Ramon Gomes Brandão > > > _______________________________________________ > users mailing list > email@example.com > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list firstname.lastname@example.org http://lists.xwiki.org/mailman/listinfo/users