Tags:
create new tag
view all tags

Question

AccessControlException: Access to CHANGE Main.xxxx for TWikiRegistrationAgent is denied.

Getting this error when clicking SUBMIT from the Main/TWikiRegistration page. This is with 4.0.1. As a result cannot register new users.

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Registration

-- DickWieland - 21 Feb 2006

Answer

I added TWikiRegistrationAgent to Main.WebPreferences as follows

and that seemed to let it clear the access hurdle.

-- DickWieland - 21 Feb 2006

That works, yes. Actually, it is just needed for the TWikiUsers topic, e.g. add the TWikiRegistrationAgent to the ALLOWTOPICCHANGE of Main.TWikiUsers.

-- PeterThoeny - 29 Mar 2006

I had the same problem in my local installation of TWiki - and TWikiUsers topic already had line

Set ALLOWTOPICCHANGE = TWikiAdminGroup, TWikiRegistrationAgent

it did not work.

But when I added, as DickWieland adviced, TWikiRegistrationAgent to the WebPreferences, the registration worked again.

Something wrong with the TWikiUsers? What I have noticed, in WebPreferences page, it was like %MAIN_WEB%.TWikiRegistrationAgent, but in the TWikiUsers page, it was just TWikiRwgistrationAgent. Could this be the problem?

-- AlexBolgarov - 03 May 2006

I am having this same problem, and I already have this line in my Main/TWikiUsers.txt file:

   * Set ALLOWTOPICCHANGE = TWikiAdminGroup, TWikiRegistrationAgent

-- TWikiGuest - 03 May 2006

If I recall correctly, the TWikiRegistrationAgent needs access to the Main web (ALLOWWEBCHANGE in Main.WebPreferences) so that he can create the user home pages for the newly registered users.

-- HaraldJoerg - 05 May 2006

I believe this is correct.

-- PeterThoeny - 08 May 2006

Make sure that your data/Main dir in writable and owned by apache owner ( if you are running apache)

-- JennyBFaifel - 09 May 2006

I have a similar issue, but 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.

-- EricHanson - 26 Jul 2006

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

-- JeffLink - 27 Jul 2006

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2006-07-27 - JeffLink
 
  • 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.