diff --git a/src/Instance/HoldingsList/HoldingsListContainer.js b/src/Instance/HoldingsList/HoldingsListContainer.js index 4924fca34..11231ff03 100644 --- a/src/Instance/HoldingsList/HoldingsListContainer.js +++ b/src/Instance/HoldingsList/HoldingsListContainer.js @@ -19,7 +19,7 @@ const HoldingsListContainer = ({ const { holdingsRecords: holdings, isLoading } = useInstanceHoldingsQuery(instance.id, { tenantId }); const canViewHoldings = stripes.hasPerm('ui-inventory.holdings.create'); - const canCreateItem = stripes.hasPerm('ui-inventory.item.edit'); + const canCreateItem = stripes.hasPerm('ui-inventory.item.create'); const canViewItems = stripes.hasPerm('ui-inventory.item.create'); if (isLoading) return ; diff --git a/src/Instance/InstanceDetails/MemberTenantHoldings/MemberTenantHoldings.js b/src/Instance/InstanceDetails/MemberTenantHoldings/MemberTenantHoldings.js index 7b7d8e10a..b21351637 100644 --- a/src/Instance/InstanceDetails/MemberTenantHoldings/MemberTenantHoldings.js +++ b/src/Instance/InstanceDetails/MemberTenantHoldings/MemberTenantHoldings.js @@ -41,8 +41,8 @@ const MemberTenantHoldings = ({ const isUserInCentralTenant = checkIfUserInCentralTenant(stripes); const canViewHoldings = hasMemberTenantPermission('ui-inventory.holdings.create', id, userTenantPermissions); - const canCreateItem = hasMemberTenantPermission('ui-inventory.item.edit', id, userTenantPermissions); - const canCreateHoldings = hasMemberTenantPermission('ui-inventory.holdings.edit', id, userTenantPermissions); + const canCreateItem = hasMemberTenantPermission('ui-inventory.item.create', id, userTenantPermissions); + const canCreateHoldings = hasMemberTenantPermission('ui-inventory.holdings.create', id, userTenantPermissions); const canViewItems = hasMemberTenantPermission('ui-inventory.item.create', id, userTenantPermissions); if (isEmpty(holdingsRecords)) return null;