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
--
EricHanson - 26 Jul 2006
Answer
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