pgAdmin 4 commit: 1) Added RLS Policy support in Schema Diff. Fixes #56

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: 1) Added RLS Policy support in Schema Diff. Fixes #56
Date: 2020-07-01 08:23:56
Message-ID: E1jqY28-0000VO-Op@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

1) Added RLS Policy support in Schema Diff. Fixes #5601
2) Fixed 'cant execute empty query' issue when remove the value of
'USING' or 'WITH CHECK' option of RLS Policy. Fixes #5631

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=979f8061619db2fae306f93f998e280b60fd53aa
Author: Pradip Parkale <pradip(dot)parkale(at)enterprisedb(dot)com>

Modified Files
--------------
docs/en_US/release_notes_4_24.rst | 4 +-
.../databases/schemas/functions/__init__.py | 17 --
.../servers/databases/schemas/tables/__init__.py | 3 +
.../tables/row_security_policies/__init__.py | 190 ++++++++++++++++++---
.../static/js/row_security_policy.js | 17 +-
.../tests/default/alter_policy.sql | 2 +-
.../tests/default/create_all_event_policy.sql | 11 ++
.../tests/default/create_insert_policy.sql | 2 +-
.../tests/default/create_public_policy.sql | 2 +-
.../tests/default/create_select_policy.sql | 2 +-
.../row_security_policies/tests/default/test.json | 24 ++-
.../schemas/tables/row_security_policies/utils.py | 20 +--
.../databases/schemas/tables/schema_diff_utils.py | 2 +-
.../databases/schemas/tables/static/js/table.js | 16 +-
.../row_security_policies/sql/9.5_plus/create.sql | 5 -
.../sql/9.5_plus/properties.sql | 10 +-
.../row_security_policies/sql/9.5_plus/update.sql | 2 +-
.../servers/databases/schemas/tables/utils.py | 2 +-
18 files changed, 245 insertions(+), 86 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-07-01 08:24:19 Re: [SonarQube]: Rename function and variable name to match the regular expression
Previous Message Pradip Parkale 2020-07-01 07:40:23 [SonarQube]: Rename function and variable name to match the regular expression