mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the user is unable to update column-level privileges from the security tab. Fixes #6117
This commit is contained in:
committed by
Akshay Joshi
parent
1b850ff616
commit
2036e9d9a8
@@ -503,8 +503,7 @@ define(['sources/gettext', 'underscore', 'jquery', 'backbone', 'backform',
|
||||
*/
|
||||
collection.each(function(m) {
|
||||
m.set(
|
||||
{'privilege': allPrivilege, 'with_grant': allWithGrant},
|
||||
{silent: true}
|
||||
{'privilege': allPrivilege, 'with_grant': allWithGrant}
|
||||
);
|
||||
});
|
||||
} else {
|
||||
@@ -539,7 +538,7 @@ define(['sources/gettext', 'underscore', 'jquery', 'backbone', 'backform',
|
||||
} else if (!checked) {
|
||||
$allGrants.prop('checked', false);
|
||||
}
|
||||
collection.get(privilege_type).set(attrs, {silent: true});
|
||||
collection.get(privilege_type).set(attrs);
|
||||
|
||||
if (checked) {
|
||||
$allPrivileges = $tbl.find(
|
||||
|
||||
Reference in New Issue
Block a user