@7365admin1/layer-common 4.180.1 → 4.181.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,7 +163,8 @@ export function inventoryControls(a?: Partial<TInventoryAccess> | null) {
163
163
  return {
164
164
  tabs: {
165
165
  stock: c.canView,
166
- mine: (c.canRequest || c.canUse) && !c.canManage,
166
+ // Anyone who may record usage gets My Stock, store admins included: the server allows it (manage implies use).
167
+ mine: c.canUse || (c.canRequest && !c.canManage),
167
168
  requests: c.canRequest || c.canApprove,
168
169
  people: c.canApprove || c.canHandle,
169
170
  reports: c.canReports || c.canApprove,