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

Item14643: UserRegistration can't be blocked by denying access to the topic.

Priority: Normal
Current State: Waiting for Release
Released In: n/a
Target Release:
Applies To: Engine
Component: FoswikiUIRegister
Branches: master Release02x01
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
System.UserRegistration was changed to use a list style include:
   %INCLUDE{"UsersWeb.UserRegistration, System.DefaultUserRegistration"}%

It may be desired to change UserRegistration to deny it to WikiGuest, for example. The list format include however will fall back to the 2nd entry in the list if the first entry is denied. Foswiki 1.1 used the following format:

"istopic '%USERSWEB%.%TOPIC%'"
then="$percentINCLUDE{$quot%USERSWEB%.%TOPIC%$quot NOREGISTRATION=$quot%NOREGISTRATION%$quot}$percent" 
else="$percentINCLUDE{$quot%SYSTEMWEB%.Default%TOPIC%$quot REGISTRATION_DISABLED=$quot%REGISTRATION_DISABLED%$quot}$percent"

This style INCLUDE preserves ability to restrict access to UserRegistration without requiring a change to the System web.

-- GeorgeClark - 05 Mar 2018


ItemTemplate edit

Summary UserRegistration can't be blocked by denying access to the topic.
ReportedBy GeorgeClark
Codebase 2.1.6, trunk
SVN Range
AppliesTo Engine
Component FoswikiUIRegister
Priority Normal
CurrentState Waiting for Release
Checkins distro:fbbf8811308e
ReleasedIn n/a
CheckinsOnBranches master Release02x01
masterCheckins distro:fbbf8811308e
Release02x01Checkins distro:fbbf8811308e
Topic revision: r1 - 05 Mar 2018, GeorgeClark - This page was cached on 22 Mar 2018 - 15:46.

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