I want set user permission based on Workflow for Doctype Item.
here an example:
When User-1 create a item it can only read/writable to User:-2(reviewer)
after review it will be read/writable to user-3 (approve) and finally , after approved item can read/writable to All others user who has permission for Item.
if possible, anyone can me the custom script to do that please?