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
--
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