Re: [pgAdmin4][Patch] - RM #6953 - Webserver Authentication enhancement

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: [pgAdmin4][Patch] - RM #6953 - Webserver Authentication enhancement
Дата
Msg-id CANxoLDca26vByvSs1wqqWzNQFQxUo41VY82WCN9AWMXpq1kJ7A@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin4][Patch] - RM #6953 - Webserver Authentication enhancement  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Список pgadmin-hackers
Thanks, the patch applied.

On Wed, Nov 10, 2021 at 2:31 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,

Please find the attached patch for the RM # 6953 - Webserver Authentication: Include headers coming from servers.

In the RM, 2 users have provided the solution, I have merged them.

As per the current behaviour, pgAdmin only considers the REMOTE_USER environment variable (set by the webserver). In this patch, we have introduced the WEBSERVER_REMOTE_USER config variable, so users can modify it as per their environment. Also, we check for the environment as well as request headers for the remote user details.

Thanks,
Khushboo


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Ensure that users should be able to modify the REMOTE
Следующее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Correct the release notes.