Re: [pgAdmin][RM-6143]: Shared server entries not getting deleted.

Поиск
Список
Период
Сортировка
От Akshay Joshi
Тема Re: [pgAdmin][RM-6143]: Shared server entries not getting deleted.
Дата
Msg-id CANxoLDfN2AehHnBPDLPO1vR+yw-16T8dcRx04--UX-69UmCzqQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin][RM-6143]: Shared server entries not getting deleted.  (Dave Page <dpage@pgadmin.org>)
Ответы Re: [pgAdmin][RM-6143]: Shared server entries not getting deleted.  (Nikhil Mohite <nikhil.mohite@enterprisedb.com>)
Список pgadmin-hackers
Reverted the commit.

On Thu, Jan 21, 2021 at 3:13 PM Dave Page <dpage@pgadmin.org> wrote:
This seems like a very bad idea. What if the user that has left was the user that setup 50 connections used by everyone else?

Deleting those shared entries is (I would guess) most likely *not* what the majority of users would want, and the current behaviour is definitely safest.

We should make this optional; i.e. ask the use if they want shared servers created by the user to be deleted. If they say no, they should be reassigned to another user; either the admin that's deleting the user, or their choice of user (a little more complex of course, but more flexible).

Please revert this, until the deletion is made optional. 

On Thu, Jan 21, 2021 at 9:23 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Thanks, patch applied.

On Thu, Jan 21, 2021 at 12:18 PM Nikhil Mohite <nikhil.mohite@enterprisedb.com> wrote:
Hi Team,

Please find the attached patch for RM-6143: Shared server entries not getting deleted.
Added code to delete shared server entries if the admin deletes the user from user management.


--
Thanks & Regards,
Nikhil Mohite
Software Engineer.
Mob.No: +91-7798364578.


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



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com



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

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Revert "Fixed an issue where shared server entries no
Следующее
От: Khushboo Vashi
Дата:
Сообщение: Re: [pgAmin4][Patch] - Kerberos support for Windows Installer