Recently i was assigned to do this task.
What i have done:
1. Created a permission for required role.
2. Checked permission for current user.
3. If user does not have the specific permission disable delete and save button. Here is the code to check the permission and disable edit and save button.