[pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog

Поиск
Список
Период
Сортировка
От Surinder Kumar
Тема [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog
Дата
Msg-id CAM5-9D8KtB8xSrL3z90CG_VEPm002oAPA-s3d3CHGR9p6Q3iMw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog
Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog
Список pgadmin-hackers
Hi

Please find attached with following fixes:

1) The function 'canCreateProc' that checks if package is auth to create under catalog gets failed due to improper check of 'type'. Instead check should be like
node_hierarchy['server'].server_type == "ppas" not 
node_hierarchy['server'].type == "ppas"

2) Also found, package.js was loading at schema level, due to this, context menu doesn't popup under catalog. Now it is load at database level.

3) In package.js, remove extra comma from columns array.

4) Rule create option should not available on table under catalogs. Fixed.

Please review.

Thanks,
Surinder Kumar
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: python-click dependency
Следующее
От: Murtuza Zabuawala
Дата:
Сообщение: Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog