mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed typo in security labels macro Fixes #1457
This commit is contained in:
parent
050937a32a
commit
8e0a61f556
@ -2,8 +2,8 @@
|
||||
{# Macros for schema and its child nodes #}
|
||||
{##########################################}
|
||||
{% macro SET(conn, type, name, provider, label, schema) -%}
|
||||
SECURITY LABEL FOR{% if provider and provider != '' %} FOR {{ conn|qtIdent(provider) }}{% endif %} ON {{ type }} {{ conn|qtIdent(schema, name) }} IS {{ label|qtLiteral }};
|
||||
SECURITY LABEL{% if provider and provider != '' %} FOR {{ conn|qtIdent(provider) }}{% endif %} ON {{ type }} {{ conn|qtIdent(schema, name) }} IS {{ label|qtLiteral }};
|
||||
{%- endmacro %}
|
||||
{% macro UNSET(conn, type, name, provider, schema) -%}
|
||||
SECURITY LABEL FOR {{ provider }} ON {{ type }} {{ conn|qtIdent(schema, name) }} IS NULL;
|
||||
{%- endmacro %}
|
||||
{%- endmacro %}
|
||||
|
Loading…
Reference in New Issue
Block a user