Tags:
create new tag
view all tags

Question

In our TWiki, the list of TWiki Webs in every WebLeftBar ends with a disabled or unclickable item for Trash and directly below that, a question mark standing alone on a line. Does anyone know what this question mark is, why it is there, whether it is supposed to be there, and perhaps how to get rid of it? Any user can click it to edit an (empty) topic called Trash:WebHome and this seems to us to be a tempting target for graffitists.

Any help would be appreciated, thanks.

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Scientific Linux 3.04, kernel 2.4.21-47
Web server: Apache 2.0.46-56
Perl version: 5.8.0-90
Client OS: RedHat Linux 9
Web Browser: Mozilla 1.4
Categories: Permissions, Security

-- ElisabethAtems - 07 Aug 2006

Answer

ALERT! 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.

The list of webs is usually assembled by TWiki scanning the store for visible webs. Here's how it does it:

for each directory under data/, do
   if the directory contains WebPreferences.txt, then
      if the TWiki perms on the web allow it to be read, then
         if the web is *not* set NOSEARCHALL
            list it in the left bar.
However the link to the web in the left bar targets the WebHome topic in the web, not the WebPreferences topic. So I would expect the behaviour you describe if:
  1. The Trash web has no WebHome topic
  2. The Trash web is set to be readable in WebPreferences, but the WebHome topic is set to be unreadable.

You might investigate these possibilities. If you want to prevent anyone from seeing the web in the left bar, then add

  • Set NOSEARCHALL = on
in Trash.WebPreferences.

-- CrawfordCurrie - 08 Aug 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-08-08 - CrawfordCurrie
 
  • 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.