mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that user should be able to clear comments in RLS Policy.
This commit is contained in:
parent
c3d6f8887a
commit
1ba9f005a7
@ -33,7 +33,8 @@ ALTER POLICY {{ conn|qtIdent(o_data.name) }} ON {{conn|qtIdent(o_data.schema, o_
|
||||
{#####################################################}
|
||||
{## Change policy comment ##}
|
||||
{#####################################################}
|
||||
{% if data.description and o_data.description != data.description %}
|
||||
{% if data.description is defined and data.description != o_data.description %}
|
||||
COMMENT ON POLICY {{ conn|qtIdent(o_data.name) }} ON {{conn|qtIdent(o_data.schema, o_data.table)}}
|
||||
IS {{ data.description|qtLiteral(conn) }};
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user