Tags:
create new tag
, view all tags

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

Motivation

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.

Description

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

Documentation

not necessary

Examples

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

Implementation

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.


Discussion:

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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.