We all know that wiki works best with no read restrictions, but in a corporate world,
it may be a necessary evil.
Currently, if one uses the
viewauth script method, there is a problem with the %TOC% and maybe other. See
TocNotWorkingOnReadProtectedTopics
So I suggest incorporate a fix for it in next release. My current fix on the above page implies just adding a line in the doc at
TWikiAccessControl
saying something like:
-
- Create a viewauth template by copying the view template with the script name changed to viewauth in it. With unix utils, it is:
sed -e 's|URL%/view%SCRIPT|URL%/viewauth%SCRIPT|' <templates/view.tmpl >templates/viewauth.tmpl
--
ColasNahaboo - 22 Nov 2001
This is fixed and in
TWikiAlphaRelease. The fix is in TWiki.pm, it figures out to use
viewauth instead of
view for TOC.
--
PeterThoeny - 24 Nov 2001