From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERROR message displayed if database server connected with non super user |
Date: | 2020-04-16 09:57:45 |
Message-ID: | CANxoLDcPb82POUyMuYnqOwLZBwhmhOvkx-KUUSRbgN2TV5eTvQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Thanks, patch applied.
On Thu, Apr 16, 2020 at 11:33 AM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)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.
> More about pg_user_mappings -
> https://www.postgresql.org/docs/9.5/view-pg-user-mappings.html
>
> 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*
From | Date | Subject | |
---|---|---|---|
Next Message | navnath gadakh | 2020-04-16 11:07:23 | [pgAdmin][RM5157] Default sort order at start in view table data by primary key by default |
Previous Message | Akshay Joshi | 2020-04-16 09:57:31 | Re: [pgAdmin][RM5210] pgAdmin4 silently truncates text larger than underlying field size |