Submitting shared document

Hi,

  1. I have set “if owner” for stock entry. So now each user can only see their documents.
  2. I share this stock entry with another user under the same role
  3. this new user need to be able to submit the document. I am looking for a client side script

ok sorry got.

Multi rules.