I have two types of admin for order management. 1. Administrator 2. Delivery Boy Admin
Administrator have all capability Delivery boy admin should be view and change only those status whose have custom status named ["on pickup","picked up","delivered"]
and administrator can assign to selected delivery boy by selecting Custom field box.
now issue is that I have unset some order status for delivery boy admin but filter button still showing in delivery boy admin. So cancelled order and other orders still showing by filter and it is also editable by delivery boy. Check image Administrator login
Possiblly solution is that if have any query to hide specific order by specific order status with specific edit. or any hide above filter(not recommended)