I have created a custom list and i need to apply some edit restriction to this. There is status field on the form that will be changed by users.
- When user selects "Draft" in status field and saves then this item will only be edited by user who is saving it.
- When user1 selects "sent" in the status field and saves then this item will only be editable by user whose name is selected in "Approver" field.
- When user, whose name is selected in "Approver" field selects "Rejected" and saves then this item will only be editable by user who created it(user from point 1, 2).
- When user, whose name is selected in "Approver" field selects "Approved" and saves then this item will only be editable by nobody.
Please help me to achieve this.