Make 'using' and 'with check' fields a textarea in the RLS policy. #5874

This commit is contained in:
Akshay Joshi 2023-03-07 12:19:03 +05:30
parent 262d1a1c95
commit ca33283930
2 changed files with 3 additions and 2 deletions

View File

@ -34,3 +34,4 @@ Bug fixes
| `Issue #4784 <https://github.com/pgadmin-org/pgadmin4/issues/4784>`_ - Handle errors occurring during decoding UTF-8 encoded query result data which contains ascii characters.
| `Issue #5775 <https://github.com/pgadmin-org/pgadmin4/issues/5775>`_ - Display the 'No menu available for this object' message if the selected tree node does not have any options.
| `Issue #5833 <https://github.com/pgadmin-org/pgadmin4/issues/5833>`_ - Fixed an issue where user MFA entry was not getting delete after deleting a user.
| `Issue #5874 <https://github.com/pgadmin-org/pgadmin4/issues/5874>`_ - Make "using" and "with check" fields a textarea in the RLS policy.

View File

@ -79,13 +79,13 @@ export default class RowSecurityPolicySchema extends BaseUISchema {
},
{
id: 'using', label: gettext('Using'), deps: ['using', 'event'],
type: 'text', disabled: obj.disableUsingField,
type: 'multiline', disabled: obj.disableUsingField,
mode: ['create', 'edit', 'properties'],
control: 'sql', visible: true, group: gettext('Commands'),
},
{
id: 'withcheck', label: gettext('With check'), deps: ['withcheck', 'event'],
type: 'text', mode: ['create', 'edit', 'properties'],
type: 'multiline', mode: ['create', 'edit', 'properties'],
control: 'sql', visible: true, group: gettext('Commands'),
disabled: obj.disableWithCheckField,
},