Roundup Tracker - Issues

Message7251

Author rouilj
Recipients antmail, ber, jerrykan, rouilj, techtonik
Date 2021-05-27.05:00:34
Message-id <1622091635.8.0.387141508947.issue2550837@roundup.psfhosted.org>
In-reply-to
Hi Anthony:

I have attached patches to implement the passing of variables.

You can change the REMOTE_USER variable by setting the

   http_auth_header

in the tracker's config.ini.

If you are using roundup-server, there is a new command line option: -I.
If you use a config file for the server the option is include_headers.

This is a comma separated list of headers. They find a matching
header (case insensitive) and create a new entry (with the case
specified in -I) in the env array preserving the case of the header.

So to implement your use case:

  roundup-server -I proxy-user

in tracker config.ini:

  http_auth_header = proxy-user

If you are not using roundup-server (e.g using gnuicorn or uwsgi)
I think all you need is the config.ini change.

I am trying to get this into the next release and plan on releasing
a beta on June 10 so we have a month with the 2.1.0 release on
July 13.

Do you think you would be able to test these patches before then?
I won't include them if it doesn't solve your use case.

-- rouilj
History
Date User Action Args
2021-05-27 05:00:35rouiljsetmessageid: <1622091635.8.0.387141508947.issue2550837@roundup.psfhosted.org>
2021-05-27 05:00:35rouiljsetrecipients: + rouilj, ber, techtonik, jerrykan, antmail
2021-05-27 05:00:35rouiljlinkissue2550837 messages
2021-05-27 05:00:35rouiljcreate