We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>AccessCheckForChangeIssue (15 Aug 2006, EricHanson)
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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r5 - 15 Aug 2006 - 21:38:00 - EricHanson
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback