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
--
ElisabethAtems - 07 Aug 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.
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:
- The Trash web has no WebHome topic
- 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
in Trash.WebPreferences.
--
CrawfordCurrie - 08 Aug 2006