Skip to content

Commit 47eca9a

Browse files
Fixed an issue where updating the grantee was not correctly applying the privileges. #8546
1 parent f635df6 commit 47eca9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/pgadmin/browser/server_groups/servers/static/js/privilege.ui.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
5151
allowClear: false,
5252
}
5353
}),
54+
disabled: function (state) {
55+
return !obj.isNew(state);
56+
},
5457
noEmpty: true,
5558
},
5659
{

0 commit comments

Comments
 (0)