public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ashesh Vashi <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Resolved few intialization issue with Node model data
Date: Wed, 23 Dec 2015 06:47:40 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Resolved few intialization issue with Node model data, moved the
privileges functionality out of the backform.pgadmin.js to make it more
modular. Now - privileges will expect the privileges data in following
format:
<name_of_the_property> : [{
"privileges": [{
"privilege_type": <privilege_type>,
"privilege": true,
"with_grant": false
},
...
],
"grantee": <grantee>,
"grantor": <grantor>
},
...
]
Example:
acl": [{
"privileges": [{
"privilege_type": "CONNECT",
"privilege": true,
"with_grant": false
}],
"grantee": '',
"grantor": 'ashesh'
},{
"privileges": [{
"privilege_type": "CREATE",
"privilege": true,
"with_grant": false
},{
"privilege": true,
"privilege_type": "TEMPORARY",
"with_grant": false
}],
"grantee": test,
"grantor": ashesh
}]
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c51ecc69e4f9504dcbed4282a3d2f29241c2a...
Modified Files
--------------
.../browser/server_groups/servers/__init__.py | 25 +-
.../server_groups/servers/static/js/privilege.js | 431 +++++++++++++++++++++
.../browser/templates/browser/js/browser.js | 55 ++-
web/pgadmin/browser/templates/browser/js/node.js | 80 ++--
web/pgadmin/browser/utils.py | 1 +
web/pgadmin/static/css/overrides.css | 14 +-
web/pgadmin/static/js/backform.pgadmin.js | 29 +-
web/pgadmin/static/js/backgrid/backgrid.pgadmin.js | 248 ------------
8 files changed, 575 insertions(+), 308 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: Resolved few intialization issue with Node model data
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