cross
Foswiki.org is now running Foswiki 2.1.3 Beta 1. Please open a task for any issues.

Item14077: INCLUDE{"topic,list"} fails if first topic is access denied.

pencil
Priority: Urgent
Current State: Waiting for Release
Released In: 2.1.3
Target Release: patch
Applies To: Engine
Component: INCLUDE
Branches: Release02x01 master Item13897
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
%INCLUDE{"SecretStuff,"NotSoSecret"}%
is documented as displaying the first topic in the list that the user has authority to view. However instead, the user is presented with a warning:
Warning
    Can't INCLUDE Sandbox.NotSoSecret repeatedly, topic is already included. 

The issue appears to be that when the list of topics is considered, the topic failing access is marked as included before checking for access permission.

-- GeorgeClark - 29 May 2016

Also noted that if access is denied, the topic context is not restored.

And also, the access denied message ignores the warn= text. (See Item11548)

-- GeorgeClark - 29 May 2016
 

ItemTemplate edit

Summary INCLUDE{"topic,list"} fails if first topic is access denied.
ReportedBy GeorgeClark
Codebase 2.1.2, 2.1.1, 2.1.0, 2.1.0 beta1, 2.0.3, 2.0.2, 2.0.1, 2.0.0, trunk
SVN Range
AppliesTo Engine
Component INCLUDE
Priority Urgent
CurrentState Waiting for Release
WaitingFor
Checkins distro:276c5d2cf59b
TargetRelease patch
ReleasedIn 2.1.3
CheckinsOnBranches Release02x01 master Item13897
trunkCheckins
masterCheckins distro:276c5d2cf59b
ItemBranchCheckins distro:276c5d2cf59b
Release02x01Checkins distro:276c5d2cf59b
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 06 Dec 2016, GeorgeClark - This page was cached on 22 Jan 2017 - 09:38.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License