Approve button is available without right for supervisory node

Description

During executing OLMIS-2974, I found that the Approve button is visible even if the user doesn't have the right to the supervisory node at which he wants to approve the requisition.

Steps to reproduce
1. Initiate and submit the requisition for Family Planning as srmanager4.
2. Authorize the same requisition as smanager4.
3. Approve previously-authorized requisition as dsrmanager.
4. Go to view this requisition.
5. Click the Approve button.

Expected Behavior:
When I have approved a requisition as dsrmanager, and then go to View the requisition, I should not see the Approve button available to select.

Environment

None

Status

Assignee

Łukasz Lewczyński

Reporter

Klaudia Pałkowska

Labels

None

Story Points

2

Time tracking

36h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major