[pgAdmin4][Patch]: Node issues under catalogs

Поиск
Список
Период
Сортировка
От Surinder Kumar
Тема [pgAdmin4][Patch]: Node issues under catalogs
Дата
Msg-id CAM5-9D_6mUo_gYJugiTYaXkR920-6YwJCAZAHAUc2e=CB12FqQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][Patch]: Node issues under catalogs  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Re: [pgAdmin4][Patch]: Node issues under catalogs  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Список pgadmin-hackers
Hi

Following are the issues fixed in this patch:
1. Nodes not expanding under catalogs
Issue: Check for setting schema was missing. schema should set only if node is in create mode.

2. Error fetching node's properties.
Issue: Node attribute parent_type is not set to catalogs.

3. Don't show create rule option in table create menu if it is under catalog.

4. Security tab of node should be hidden under catalogs.
Every node with controls privilege and security labels must be under type: group
to keep them hide when node is listed under catalogs.
This code is implemented in backform.pgadmin.js

For Example:

schema:[{
    id: 'security', label: '{{ _("Security") }}',
    type: 'group'
},{
   id: 'acl', label: '{{ _('Privileges') }}', group: '{{ _('security') }}'
},{
  id: 'seclabels', label: '{{ _('Security Labels') }}', 
  model: SecurityModel, type: 'collection',
  group: '{{ _('security') }}'
}]

Please find attached patch and review.


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

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

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: [pgAdmin4][datagrid] : Fix URL generation issue in datagrid
Следующее
От: Susan Douglas
Дата:
Сообщение: Documentation patch for pgAdmin 4