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