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

From Akshay Joshi
Subject Re: [pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user
Date
Msg-id CANxoLDcPb82POUyMuYnqOwLZBwhmhOvkx-KUUSRbgN2TV5eTvQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, patch applied.

On Thu, Apr 16, 2020 at 11:33 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
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"


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM5210] pgAdmin4 silently truncates text larger thanunderlying field size
Next
From: navnath gadakh
Date:
Subject: [pgAdmin][RM5157] Default sort order at start in view table data byprimary key by default