public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashesh Vashi <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Make the privilege control to work as expected. Using
Date: Fri, 15 Jan 2016 13:52:47 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Make the privilege control to work as expected. Using the
NodeListByNameCell for selecting the grantee.

This patch includes:
- Change the RolePrivilegesModel schema to allow to use the
  NodeListByNameCell for showing grantee, and granter information.
- When setting some value - do not use the silent flag in Select2Cell, which
  will allow the session manager to take the value in account, which is
  used by the NodeListByNameCell.
- Set the top object in the children of the UniqueControl collections.
  [Ashesh Vashi]
- Pass on the node information to the actual data model, so that - we can use
  node information by the control itself. [Ashesh Vashi]
- While adding the new privilege, set the granter to the current user.
  [Ashesh Vashi]

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4e5e7755b5705fd49b6a7f70bed216bde1194...
Author: Harshal Dhumal <[email protected]>

Modified Files
--------------
.../browser/server_groups/servers/__init__.py      |  3 +-
.../server_groups/servers/static/js/privilege.js   | 54 +++++++++++++++++-----
web/pgadmin/browser/templates/browser/js/node.js   |  7 ++-
web/pgadmin/static/js/backform.pgadmin.js          | 13 ++++--
web/pgadmin/static/js/backgrid/backgrid.pgadmin.js |  2 +-
5 files changed, 60 insertions(+), 19 deletions(-)


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


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: pgAdmin 4 commit: Make the privilege control to work as expected. Using
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox