From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | pgAdmin 4 commit: Security Label and ACL template macros: |
Date: | 2016-03-03 15:13:45 |
Message-ID: | E1abUwj-0008Pb-UR@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)dhumal(at)enterprisedb(dot)com>
Modified Files
--------------
.../schemas/templates/macros/schemas/privilege.macros | 14 ++++++++++++++
.../schemas/templates/macros/schemas/security.macros | 9 +++++++++
2 files changed, 23 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-03-03 15:14:23 | Re: New macros for sequence node [pgadmin4] |
Previous Message | Dave Page | 2016-03-03 14:57:53 | Re: PATCH: Schema/Catalog Node [pgAdmin4] |