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: