r3 - 15 Feb 2005 - 01:41:15 - SamHaslerYou are here: TWiki >  Codev Web > ViewAuthHandlingForTOC
Tags:
, create new tag
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:

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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
Codev.ViewAuthHandlingForTOC moved from Codev.ViewAuthHandling on 24 Nov 2001 - 10:49 by PeterThoeny - put it back
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo