mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-14 09:01:59 -05:00
Ensure that user should be able to clear comments in RLS Policy.
This commit is contained in:
1 parent
c3d6f8887a
commit
1ba9f005a7
1 file changed
+2
-1
+2
-1
@@ -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 %}
|
||||
|
||||
Reference in new issue
Block a user