Skip to Content
Menu
This question has been flagged
3541 Rodiniai

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?


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 16
3276
1
spal. 23
1296
0
birž. 21
1416
1
kov. 16
3457
1
liep. 24
1672