Tags:
create new tag
view all tags

Question

I was wondering if there was a way to approve all registration requests.

My server is only for the use of Researchers and their collaborators from various Universities. I know this goes against the basic premise of Wikis but it is what they want.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat ES 4.0
Web server: Apache 2
Perl version: 5.8.8
Client OS: Wondows XP
Web Browser: IE Firefox
Categories: Authentication

-- IanColby - 22 Aug 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Registration approval has never made it into TWiki releases, though some plans are visible in the code.

There is, however, a workaround which is reasonably easy to manage, based on TWiki's group concept (see Main.TWikiGroups)

  1. Define a TWiki group using the form in your Main.TWikiGroups topic and call it, for example, ResearchersGroup.
  2. Restrict write access - or even read access, if you want to - for all webs to members of that group, by making the appropriate settings in every web's WebPreferences topic. If you make the change in _default.WebPreferences as well, newly created webs will have the correct permissions from the start.
  3. With these settings, registration is not restricted at all, but registered users can't do anything. Registrations will be reported to the webmaster's mail address.
  4. The "approval" process consists of adding the registered users as members to your ResearchersGroup. With access control settings on the ResearchersGroup you can tune who is allowed to approve. To get rid of unwanted registrations, simply remove the users as described in TWiki.ManagingUsers.

An alternative approach is to disable individual registrations as a whole, and do all registrations as an administrator, using TWiki.BulkRegistration.

-- HaraldJoerg - 23 Aug 2007

Thanks

-- IanColby - 24 Aug 2007

See also HowToApproveUsersBeforeRegistering
Note: If you restrict access to the Main, make sure to add the TWikiRegistrationAgent in Main.WebPreferences so that users can register.

-- TorbenGB - 05 Dec 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-12-05 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.