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:
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:
%IF{
"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