I have created 2 doctypes 1. Job Card & 2. Store Location
I have linked store location to Job Card doc.
Now i want to restrict access to job card based on the store location.
i tried all combinations with Role & User permissions but a user can see all the Job cards irrespective of store locations.
Am i missing anything? please help