[pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user
[pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user
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"
Re: [pgAdmin][RM5400] An unexpected occurred: INTERNAL SERVER ERRORmessage displayed if database server connected with non super user
От:
Akshay Joshi <akshay.joshi@enterprisedb.com>
Дата:
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.More about pg_user_mappings - https://www.postgresql.org/docs/9.5/view-pg-user-mappings.htmlPlease review.--Thanks and Regards,Aditya ToshniwalpgAdmin 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