[pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject [pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user
Date
Msg-id CAM9w-_kERYy9+ijZj9MLCRhv888HSAFyMZYKUo-4HU75q8BDzw@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi Hackers,

Attached is the patch to replace the usage of pg_user_mapping table with pg_user_mappings view. pg_user_mapping is not publicly accessible.
Changes are done for search objects and foreign data wrappers.
pgAdmin throws an exception when accessing User mappings with non privileged users.

Please review.

--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment

pgadmin-hackers by date:

Previous
From: Ganesh Jaybhay
Date:
Subject: Re: [pgAdmin][4709] Invalid FTS configuration token dictionaries
Next
From: navnath gadakh
Date:
Subject: Re: [pgAdmin][RM5210] pgAdmin4 silently truncates text larger thanunderlying field size