pgAdmin 4 commit: Security Label and ACL template macros: - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Security Label and ACL template macros:
Date
Msg-id E1abUwj-0008Pb-UR@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Security Label and ACL template macros:

Way to use in template:

1) Security labels:

SECLABLE.SET(conn, object_type, object_name, provider, security_label,
object.schema)

SECLABLE.UNSET(conn, object_type, object_name, provider, object.schema)

2) Privileges:

PRIVILEGE.SET(conn, object_type, grantee, object_name,
privileges_without_grant, privileges_with_grant,
            object.schema)

PRIVILEGE.UNSETALL(conn, object_type, grantee, object_name, schema)

privileges_without_grant = comma separated string of privileges.
privileges_with_grant = comma separated string of privileges.

Branch
------
master

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

Modified Files
--------------
.../schemas/templates/macros/schemas/privilege.macros      | 14 ++++++++++++++
.../schemas/templates/macros/schemas/security.macros       |  9 +++++++++
2 files changed, 23 insertions(+)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: PATCH: Schema/Catalog Node [pgAdmin4]
Next
From: Dave Page
Date:
Subject: Re: New macros for sequence node [pgadmin4]