I currently have a record rule setup that prevents project managers from editing the project settings of projects that they aren't the manager of. It works well, but now I have struck the following problem:
- Project Manager A is assigned project manager of Project 1
- Project Manager A wants to reassign management of Project 1 to Project Manager B.
- Project Manager A replaces their name with Project Manager B in the project settings form and clicks save
- Permission denied error occurs
It appears that the change that the saving of the record will result in is being checked against the record rule even before it has happened. Is that correct, and if it is correct, is there a workaround?