Restrict Registration of New Users

Hi!
I would like to restrict self-registration in two ways:

  1. No self-registration - All users created by Admin
  2. Limited self-registration allowed for users with emails of a particular domain.

I understand that this has something to do with XWiki.XWikiGuest, but I am unable to find settings in the XWIKI Preferences/Administration to configure the above restrictions.

Can somebody please let me know how to accomplish this please?

Thank you

  1. No self-registration - All users created by Admin

For this one go to the right setting in the admin, switch to “Users” and remove the “Register” right for “Unregistered Users”.

  1. Limited self-registration allowed for users with emails of a particular domain.

Not sure but it’s possible you can setup a regex for the mail in the registration template. See http://platform.xwiki.org/xwiki/bin/view/XWiki/RegistrationHelp.

1 Like