Fix View privilege management. Fixes #1531

1. Fixed update privileges for views and materialized views.
2. Apart from this fixed wrong sql for privilege update.
3. Fixed: Error message was not got cleared even after removing entry with 
error on privilege tab.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=713c692ddd600055817d708e0c32decb06e11cb3
Author: Harshal Dhumal <harshal.dhu...@enterprisedb.com>

Modified Files
--------------
.../servers/databases/schemas/views/__init__.py    | 253 ++++++++++-----------
.../mview/pg/9.3_plus/sql/allowed_privs.json       |   6 +
.../mview/pg/9.4_plus/sql/allowed_privs.json       |   6 +
.../mview/ppas/9.3_plus/sql/allowed_privs.json     |   6 +
.../view/pg/9.1_plus/sql/allowed_privs.json        |   6 +
.../view/pg/9.2_plus/sql/allowed_privs.json        |   6 +
.../view/pg/9.3_plus/sql/allowed_privs.json        |   6 +
.../view/pg/9.4_plus/sql/allowed_privs.json        |   6 +
.../view/ppas/9.1_plus/sql/allowed_privs.json      |   6 +
.../view/ppas/9.2_plus/sql/allowed_privs.json      |   6 +
.../view/ppas/9.3_plus/sql/allowed_privs.json      |   6 +
.../view/ppas/9.4_plus/sql/allowed_privs.json      |   6 +
.../server_groups/servers/static/js/privilege.js   |   4 -
web/pgadmin/browser/static/js/datamodel.js         |   7 +-
14 files changed, 192 insertions(+), 138 deletions(-)


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

Reply via email to