[xwiki-devs] Right management (new user and edit right)
Maybe this is not the right mailing list to ask my question. I had like to know: " how to prevent new users to get edit right?" I mean, by default, if somebody registers, he has the right to edit pages and admin has to deny this right if he wants this user to not have this right. My intention is to have the contrary situation. I wish i could register and not have the right to edit while admin has not allow this right to me. Thank for your time. -- Antoine SEILLES Doctorant (phd student) Pikko software Cap Omega - Rond Point Benjamin Franklin CS 39521 34960 Montpellier Cedex 2 FRANCE LIRMM CNRS UMR 5506 - 161 rue Ada 34392 Montpellier Cedex 5 FRANCE Tel: +33 (0)6 10 192 055 http://www.pikko-software.com http://www.lirmm.fr
antoine SEILLES wrote:
Maybe this is not the right mailing list to ask my question.
I had like to know: " how to prevent new users to get edit right?" I mean, by default, if somebody registers, he has the right to edit pages and admin has to deny this right if he wants this user to not have this right. My intention is to have the contrary situation. I wish i could register and not have the right to edit while admin has not allow this right to me.
Thank for your time.
Simple, in the rights manager, disable edit to the XWiki.XWikiAllGroup group, create a new group called XWiki.EditorsGroup (for example) and grant that group edit rights. On the EditorsGroup page grant edit rights only to the XWiki.AdminsGroup, so that other users can't "promote" new users. By default, all users are added to the XWikiAllGroup, but someone has to add users to the EditorsGroup. You can also make a nice and simple UI for admins to move users in and out of the EditorsGroup, if you know a bit of velocity and the XWiki API. Sergiu
participants (2)
-
antoine SEILLES -
Sergiu Dumitriu