Tags:
create new tag
, view all tags

Question

Edit link of a restricted page takes the restricted user to Main, by default.

  • When a restricted user clicks any restricted topic of any Web, he gets the oop message as

Change Access Denied

You do not have permission to change topic Main.topic name
Contact webmaster if you have any questions.
.....

  • Here I am highlighting Main.topic name because for any topic in any Web it refers to Main Web only. It is not referring to the current Web name.
  • Because of this error, the "ok" link (which takes back us to the previous page ) at the top will be ok , like a non existing topic. If the topic already exit in Main Web ,it opens the page when the user clicks "ok".
  • When the user click the question mark near "ok" it takes to the edit page to create a new topic, in Main Web.

Please help me in this. I think I have cleared you, about my doubt. Thanks

--AnandKumar.S

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins:  
Server OS: gentoo 2.6.11
Web server: apache 2.0.54
Perl version: 5.8.5
Client OS: windows 2000 professional
Web Browser: mozilla and ie
Categories: Authentication

-- AnandKumar - 27 Jul 2005

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.

HI anyone help me.I have posted an error on 27 jul 2005, pls help me in this, tnks

-- AnandKumar - 19 Aug 2005

Hi, If you check oopsaccesschange.tmpl in your /twiki/templates directory, check the following two lines (6 & 13, respectively):

You do not have permission to change topic <nop>%WEB%.<nop>%TOPIC%.

and:

%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%

Are they identical to the lines in your tmpl file?

-- JosMaccabiani - 19 Aug 2005

Thanks Jos Maccabiani,

Pardon me for late reply.

I checked both 6 & 13 th line in oopsaccesschange.tmpl,as you said. They are same as your reference.

What can I do next,please guide me, thanks.

-- AnandKumar - 29 Aug 2005

-- TWikiGuest - 27 Sep 2005

-- TWikiGuest - 27 Sep 2005

-- TWikiGuest - 09 Oct 2005

-- TWikiGuest - 09 Oct 2005

-- TWikiGuest - 09 Oct 2005

I have the same problem ! I have restricted the edit of TestTopic2 in my Sandbox. But when the restricted user tries to edit it, he gets a message "You do not have permission to change topic Main.TestTopic2", instead of Sandbox.TestTopic2. As there is no TestTopic2 in Main, the OK button allows him to create one in Main, as mentioned by Anandkumar above

Is this because the /bin/oops script runs on Main web and not on the web the user is currently working on ? This is just a guess as I am not familiar with perl or other languages.

Please help !!

-- ChengappaCB - 13 Oct 2005

You don't say what you did to restrict edit permissions. If you denied the user "view" permission on the web, I can imagine this happening.

-- CrawfordCurrie - 30 Nov 2005

 
Topic revision: r11 - 2006-01-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.