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.
Thanks, patch applied.
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 PostgresMobile: +91 976-788-8246
--