1) Port Grant Wizard to react. Fixes #6687

2) Fixed an issue where grant wizard is unresponsive if the database size is huge. Fixes #2097
This commit is contained in:
Nikhil Mohite
2021-09-20 13:02:41 +05:30
committed by Akshay Joshi
parent 44e770aa0b
commit 7aa213a5ce
19 changed files with 1175 additions and 1098 deletions

View File

@@ -36,6 +36,9 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
this.supportedPrivs = supportedPrivs || [];
}
updateSupportedPrivs = (updatedPrivs) => {
this.supportedPrivs = updatedPrivs;
}
get baseFields() {
let obj = this;
@@ -65,7 +68,8 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
},
{
id: 'grantor', label: gettext('Grantor'), type: 'text', readonly: true,
cell: ()=>({cell: 'select', options: obj.grantorOptions}), minWidth: 150,
editable: false, cell: ()=>({cell: 'select', options: obj.grantorOptions}),
minWidth: 150,
}];
}