mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Make 'using' and 'with check' fields a textarea in the RLS policy. #5874
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user