Tags:
create new tag
view all tags

Question

When trying to register user XXXX I get:

Access check on Main.XXXX failed. Action "CHANGE": access not allowed on web.

I have these settings on WebPreferences and TWikiUsers

   * Set ALLOWWEBCHANGE = Main.TWikiRegistrationAgent
   * Set ALLOWTOPICCHANGE = Main.TWikiRegistrationAgent
(Respectively). Does TWikiAdminGroup? need to be included? Do I need the MAINWEB declaration in front of TWikiRegistrationAgent?? I have been fighting this for a while. I just want to lock down my Main web for changes (but allow viewing by anyone).

Thanks in advance. I know this is similar to UserRegistrationProblem, but I couldn't edit it to change its status.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache
Perl version: 5.8
Client OS: mac
Web Browser: firefox
Categories: Registration

-- EricHanson - 26 Jul 2006

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.

Try adding the user TWikiRegistrationAgent to the TWikiAdminGroup. Fixed it for me whe I ran into this.

-- JeffLink - 27 Jul 2006

Thanks for the suggestion. Still no go, same error. I even changed the :

  * Set ALLOWWEBCHANGE = Main.TWikiAdminGroup

-- EricHanson - 27 Jul 2006

The issue here is that there is a bit o code in the lib that creates webs that automatically rejects any request by a user that is not an admin. So if you trust your users enough, you can simply snip out this bit of code, or change who creates the web (though that could cause issues down the road).

-- EricHanson - 15 Aug 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-08-15 - EricHanson
 
  • 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.