Workflow Based User Permission

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?

Mostly no need for script.
Update field enabled/disabled =1 and 0 based on the workflow status of the item.
So make it enabled at the final approval step.

Please refer update field, value in workflow status table.

thank u so much

i cannot find enable in Update filed option.:frowning:
plz help.

disabled

does’nt work :frowning:
all user able to see before final approve :frowning: