2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-14 03:46:44 +00:00

Fix permission checks for bulk delete actions (#7796)

This commit is contained in:
Oliver
2024-08-03 16:13:28 +10:00
committed by GitHub
parent 6fd5a9941b
commit 85fc709fc7
5 changed files with 11 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ export default function BuildAllocatedStockTable({
stock_detail: true,
supplier_detail: true
},
enableBulkDelete: true,
enableBulkDelete: user.hasDeleteRole(UserRoles.build),
enableDownload: true,
enableSelection: true,
rowActions: rowActions,