mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Resolved an issue related to not able to select grantee in the
privileges control. It was a regression introduced in the commit - '4adea4dc2596fb495c4df8129745b87c35b062a6'.
This commit is contained in:
@@ -73,14 +73,14 @@
|
||||
id: 'grantee', label:'Grantee', type:'text', group: null,
|
||||
editable: true, cellHeaderClasses: 'width_percent_40',
|
||||
node: 'role',
|
||||
disabled : function(column, collection) {
|
||||
if (column instanceof Backbone.Collection) {
|
||||
disabled : function(m) {
|
||||
if (!(m instanceof Backbone.Model)) {
|
||||
// This has been called during generating the header cell
|
||||
return false;
|
||||
}
|
||||
return !(
|
||||
this.top && this.top.node_info &&
|
||||
this.top.node_info.server.user.name == column.get('grantor')
|
||||
m.top && m.top.node_info &&
|
||||
m.top.node_info.server.user.name == m.get('grantor')
|
||||
);
|
||||
},
|
||||
transform: function(data) {
|
||||
|
||||
Reference in New Issue
Block a user