How do I filter data by permission
I have a table of Orders.
So i have OrderResource but how do i filter the order based on type.
For example, my roles
Thanks in advance :(
So i have OrderResource but how do i filter the order based on type.
For example, my roles
wheelchair should only be able to see the Order type wheelchair while admin is able to see everythingThanks in advance :(