New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

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

Priority: Urgent
Current State: Closed
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
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:
    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 Closed
Checkins distro:276c5d2cf59b
TargetRelease patch
ReleasedIn 2.1.3
CheckinsOnBranches Release02x01 master Item13897
masterCheckins distro:276c5d2cf59b
ItemBranchCheckins distro:276c5d2cf59b
Release02x01Checkins distro:276c5d2cf59b
Topic revision: r5 - 18 Feb 2017, GeorgeClark - This page was cached on 16 Jul 2018 - 21:42.

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