ORDERS_VIEW should not grant access to fulfill order screen

Description

None of the Shipment or ShipmentDraft endpoints allow users who only have ORDER_VIEW rights, therefore it doesn't make any sense that this right displays the "Fulfill Orders" entry in the menu. Users who only have ORDER_VIEW right won't be able to see anything there anyways. Moreover, this may be confusing if implementations don't want to use local fulfillment (aka don't use shipment rights at all).

Repro

  1. Create or edit use to only have ORDER_VIEW right

  2. Login as that user

  3. See "Fulfill orders" link under "Orders" in menu

Acceptance criteria

  • Only users with SHIPMENTS_VIEW or SHIPMENTS_EDIT see the link to "fulfill orders"

  • Either of the above right is required, not both

Environment

None

Assignee

Paweł Albecki

Reporter

Sebastian Brudziński

Labels

Story Points

1

Time tracking

4h

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure