Re: [pgAdmin4][Patch]: Node issues under catalogs - Mailing list pgadmin-hackers

From Surinder Kumar
Subject Re: [pgAdmin4][Patch]: Node issues under catalogs
Date
Msg-id CAM5-9D-7PQwDK_6=dKtqW3pxw-nuwYxMHP0iOLE_6i7RZ-TKbw@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][Patch]: Node issues under catalogs  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Responses Re: [pgAdmin4][Patch]: Node issues under catalogs  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers


On Thu, May 26, 2016 at 8:58 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:

On Wed, May 25, 2016 at 7:44 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:

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.

Please share a separate patch for above fixes.
OK 

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company



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


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: [pgAdmin4][Patch]: Node issues under catalogs
Next
From: Surinder Kumar
Date:
Subject: Re: [pgAdmin4][Patch]: Node issues under catalogs