I am creating a dashboard for Procurement (requests and orders).
However, it is a requirement from the client that the owners can only visualize their own requests/orders, but the managers/directors (that can be also requesters) can see all the information.
I have already limited by requesters using this query on the fields User name: LOCATE(USER(), "- Requisition Requester"."Purchase Requester User Name") and the filter: different from 0.
How can I continue and allow that the managers/directors can see all the information?