Thread: [pgAdmin][RM5516]: Added support of Row Security Policies
Hi Hackers,
--
Please find the attached patch for the 'Row Level Security' feature.
I have added RE-SQL and API test cases also.
To run the RE-SQL cases -
- python runtests.py --pkg resql --modules row_security_policies.
To run the API cases -
- python runtests.py --pkg browser.server_groups.servers.databases.schemas.tables.row_security_policies.tests
Thanks & Regards,
Pradip Parkale
QMG, EnterpriseDB Corporation
QMG, EnterpriseDB Corporation
Attachment
Thanks, patch applied with the following modifications:
- js file name should be "row_security_policy.js" instead of "row_security_policies.js".
- Node name should be "row_security_policy" instead of "row_level_policies". Node name should not be pluralized and it matches the folder name.
- Icon name should be "coll-row_security_policy.svg" and "row_security_policy.svg", it should matches with the Node name.
- The 'Owner' should be renamed to 'Role' and there must be a role 'public' in the drop-down list. If the user does not provide any role then by default it is public.
- Keywords like select, where, As should be in upper case in Jinja template.
- The policy node is disappeared when updating any value. Fixed that issue.
- There is no icon showing after creating the RLS node.
On Fri, Jun 12, 2020 at 4:45 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:
Hi Hackers,Please find the attached patch for the 'Row Level Security' feature.I have added RE-SQL and API test cases also.To run the RE-SQL cases -
- python runtests.py --pkg resql --modules row_security_policies.
To run the API cases -
- python runtests.py --pkg browser.server_groups.servers.databases.schemas.tables.row_security_policies.tests
--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246
Hi Akshay,
Please find the updated patch. I have added a new RLS policy event 'ALL'.
On Mon, Jun 15, 2020 at 3:48 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Thanks, patch applied with the following modifications:
- js file name should be "row_security_policy.js" instead of "row_security_policies.js".
- Node name should be "row_security_policy" instead of "row_level_policies". Node name should not be pluralized and it matches the folder name.
- Icon name should be "coll-row_security_policy.svg" and "row_security_policy.svg", it should matches with the Node name.
- The 'Owner' should be renamed to 'Role' and there must be a role 'public' in the drop-down list. If the user does not provide any role then by default it is public.
- Keywords like select, where, As should be in upper case in Jinja template.
- The policy node is disappeared when updating any value. Fixed that issue.
- There is no icon showing after creating the RLS node.
On Fri, Jun 12, 2020 at 4:45 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:Hi Hackers,Please find the attached patch for the 'Row Level Security' feature.I have added RE-SQL and API test cases also.To run the RE-SQL cases -
- python runtests.py --pkg resql --modules row_security_policies.
To run the API cases -
- python runtests.py --pkg browser.server_groups.servers.databases.schemas.tables.row_security_policies.tests
--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246
Thanks & Regards,
Pradip Parkale
QMG, EnterpriseDB Corporation
QMG, EnterpriseDB Corporation
Attachment
Thanks, patch applied.
On Mon, Jun 22, 2020 at 3:23 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:
Hi Akshay,Please find the updated patch. I have added a new RLS policy event 'ALL'.On Mon, Jun 15, 2020 at 3:48 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Thanks, patch applied with the following modifications:
- js file name should be "row_security_policy.js" instead of "row_security_policies.js".
- Node name should be "row_security_policy" instead of "row_level_policies". Node name should not be pluralized and it matches the folder name.
- Icon name should be "coll-row_security_policy.svg" and "row_security_policy.svg", it should matches with the Node name.
- The 'Owner' should be renamed to 'Role' and there must be a role 'public' in the drop-down list. If the user does not provide any role then by default it is public.
- Keywords like select, where, As should be in upper case in Jinja template.
- The policy node is disappeared when updating any value. Fixed that issue.
- There is no icon showing after creating the RLS node.
On Fri, Jun 12, 2020 at 4:45 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:Hi Hackers,Please find the attached patch for the 'Row Level Security' feature.I have added RE-SQL and API test cases also.To run the RE-SQL cases -
- python runtests.py --pkg resql --modules row_security_policies.
To run the API cases -
- python runtests.py --pkg browser.server_groups.servers.databases.schemas.tables.row_security_policies.tests
--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246
Hi Akshay,
Please find the attached patch. I have added hints for 'Using' and 'With check'.
On Mon, Jun 22, 2020 at 5:45 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Thanks, patch applied.On Mon, Jun 22, 2020 at 3:23 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:Hi Akshay,Please find the updated patch. I have added a new RLS policy event 'ALL'.On Mon, Jun 15, 2020 at 3:48 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Thanks, patch applied with the following modifications:
- js file name should be "row_security_policy.js" instead of "row_security_policies.js".
- Node name should be "row_security_policy" instead of "row_level_policies". Node name should not be pluralized and it matches the folder name.
- Icon name should be "coll-row_security_policy.svg" and "row_security_policy.svg", it should matches with the Node name.
- The 'Owner' should be renamed to 'Role' and there must be a role 'public' in the drop-down list. If the user does not provide any role then by default it is public.
- Keywords like select, where, As should be in upper case in Jinja template.
- The policy node is disappeared when updating any value. Fixed that issue.
- There is no icon showing after creating the RLS node.
On Fri, Jun 12, 2020 at 4:45 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:Hi Hackers,Please find the attached patch for the 'Row Level Security' feature.I have added RE-SQL and API test cases also.To run the RE-SQL cases -
- python runtests.py --pkg resql --modules row_security_policies.
To run the API cases -
- python runtests.py --pkg browser.server_groups.servers.databases.schemas.tables.row_security_policies.tests
--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246
Thanks & Regards,
Pradip Parkale
QMG, EnterpriseDB Corporation
QMG, EnterpriseDB Corporation
Attachment
Thanks, patch applied.
On Thu, Jul 2, 2020 at 10:51 AM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:
Hi Akshay,Please find the attached patch. I have added hints for 'Using' and 'With check'.On Mon, Jun 22, 2020 at 5:45 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Thanks, patch applied.On Mon, Jun 22, 2020 at 3:23 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:Hi Akshay,Please find the updated patch. I have added a new RLS policy event 'ALL'.On Mon, Jun 15, 2020 at 3:48 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:Thanks, patch applied with the following modifications:
- js file name should be "row_security_policy.js" instead of "row_security_policies.js".
- Node name should be "row_security_policy" instead of "row_level_policies". Node name should not be pluralized and it matches the folder name.
- Icon name should be "coll-row_security_policy.svg" and "row_security_policy.svg", it should matches with the Node name.
- The 'Owner' should be renamed to 'Role' and there must be a role 'public' in the drop-down list. If the user does not provide any role then by default it is public.
- Keywords like select, where, As should be in upper case in Jinja template.
- The policy node is disappeared when updating any value. Fixed that issue.
- There is no icon showing after creating the RLS node.
On Fri, Jun 12, 2020 at 4:45 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:Hi Hackers,Please find the attached patch for the 'Row Level Security' feature.I have added RE-SQL and API test cases also.To run the RE-SQL cases -
- python runtests.py --pkg resql --modules row_security_policies.
To run the API cases -
- python runtests.py --pkg browser.server_groups.servers.databases.schemas.tables.row_security_policies.tests
--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246--Thanks & Regards,Pradip Parkale
QMG, EnterpriseDB Corporation
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246