create new tag
, view all tags

Patch Proposal: Display warning on including denied depending on INCLUDEWARNING var


Including a topic with no proper read permissions for that topic ends up in including a text fragment like "No permission to read topic...". Quite ugly in some cases.


In case of "view permission denied" TWiki interprets the INCLUDEWARNING var and displays a warning according to that.


not necessary


%INCLUDE{"SomeWeb.SomeTopicWithNoReadPermissions" warn="off"}%


This patch needs to be patched if the specs of readTopicRaw() change.

Note: Patch is attached as TWiki.pm.IncludePermission.diff. The patch is against the SVN rev #3266.


Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-02-21 - MattWilkie
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.