Right now, users can see their salary slips even if it is in draft status. Is it possible to restrict the access to see only submitted salary slips?
Yes, you can restrict the access to users to see only submitted salary slip using hooks
by adding the query conditions to your app’s hook for the salary slip.
Thanks a lot @makarand_b That worked like a charm. You saved me lot of time/headache. Thanks again.