mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
Bug 5092: added filter checkbox to role tables
This commit is contained in:
1 parent
0af70ce4d0
commit
970fed908e
2 files changed
+3
No files matched your search
+2
@@ -91,6 +91,8 @@ public class RoleDefinitionsPanel extends VerticalPanel {
|
||||
return roleDefinitionsTable;
|
||||
}
|
||||
};
|
||||
filterablePanelRoleDefinitions
|
||||
.setCheckboxEnabledFilter(role -> userService.hasPermission(role, DefaultActions.UPDATE));
|
||||
roleDefinitionsTable = createRoleDefinitionsTable(tableResources);
|
||||
roleDefinitionsTable.ensureDebugId("RolesCellTable");
|
||||
filterablePanelRoleDefinitions.getTextBox().ensureDebugId("RolesFilterTextBox");
|
||||
|
||||
+1
@@ -133,6 +133,7 @@ public class RoleWithSecurityDTOTableWrapper extends
|
||||
return table;
|
||||
}
|
||||
};
|
||||
filterField.setCheckboxEnabledFilter(role -> userService.hasPermission(role, DefaultActions.UPDATE));
|
||||
registerSelectionModelOnNewDataProvider(filterField.getAllListDataProvider());
|
||||
|
||||
mainPanel.insert(filterField, 0);
|
||||
|
||||
Reference in new issue
Block a user