Ensure that RLS names should not be editable in the collection node of properties tab. Fixes #6759

This commit is contained in:
Nikhil Mohite 2021-09-27 10:57:08 +05:30 committed by Akshay Joshi
parent 294bf27985
commit 9d2f3b5ee9
2 changed files with 3 additions and 1 deletions

View File

@ -30,3 +30,4 @@ Bug fixes
| `Issue #6723 <https://redmine.postgresql.org/issues/6723>`_ - Updated query error row selection color as per dark theme style guide.
| `Issue #6724 <https://redmine.postgresql.org/issues/6724>`_ - Fixed an issue where the drop cascade button enables for Databases.
| `Issue #6736 <https://redmine.postgresql.org/issues/6736>`_ - Fixed an issue where Refresh view options are not working for materialized view.
| `Issue #6759 <https://redmine.postgresql.org/issues/6759>`_ - Ensure that RLS names should not be editable in the collection node of properties tab.

View File

@ -95,7 +95,8 @@ define('pgadmin.node.row_security_policy', [
},
schema: [{
id: 'name', label: gettext('Name'), cell: 'string',
editable: true, type: 'text', readonly: false, cellHeaderClasses: 'width_percent_50',
type: 'text', readonly: true, cellHeaderClasses: 'width_percent_50',
mode: ['properties']
},{
id: 'oid', label: gettext('OID'), cell: 'string',
editable: false, type: 'text', mode: ['properties'],