Item10420: Enhance ADMINLOGIN to use LOGINURL macro
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
The
%ADMINLOGIN%
macro is a hard coded login URL. It doesn't provide the foswiki_origin parameter, and cannot be controlled by the
LoginManager. foswiki_origin is needed to redirect back to wherever the sudo originated.
- Add a
"sudo"
parameter to the %LOGINURL%
macro
- Change the template and Apache LoginManager to provide a complete sudo login if
sudo
provided.
- Change System.DefaultPreferences to use
%LOGINURL{"sudo"}%
for the ADMINLOGIN macro instead of the hardcoded URL
--
GeorgeClark - 27 Feb 2011