Hi,
We are having problems with cascade assign record to one user who did not have the privilege as the record owner.
For example:
We set the entity A and entity B relationship rule with cascade assigned, the User C has the privilege for entity A as record Owner, but for entity B record it does not have the privilege. When we try to assign one record a1 to user C, we plan to use user D instead C as the owner for a1 sub record b1, as C does not have the privilege and the action will be failed.
1. We tried to register one plugin on Entity B, when Owner changed the plugin will check the owner, if it is C, plugin will change it to D. It will work well when we change the b1 record directly, the owner will change to user D. But when we change record a1 owner to trigger the cascade assign to change the record b1, the system will be pop up error: no privilege.
PS: We tried to set the plugin with message: Update (owner)/Assign , Stage: Pre-validation. It looks like update the entity B records will triggered the plugin, but the cascade assign will not touch this logic.
Can somebody explain to me why this is? Or any other suggestion to resolve this?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148