- Issue created by @amal.bukhari
- 🇩🇪Germany jurgenhaas Gottmadingen
If the current user doesn't have the permission to edit the node, which is what happens when using such an action in an ECA model, then ECA prevents that from happening.
To resolve this, your model needs to switch the user before making those changes, see User: switch current account
- 🇲🇾Malaysia amal.bukhari
Hi,
I've followed your guide and also on ECA Guide, but I'm getting the error that I cannot change UID when updating content.
Should it be after saving a new content, or use presave instead?
- 🇩🇪Germany jurgenhaas Gottmadingen
Setting the user id is different from what's been described in the issue originally. But still, that should work. Can you please create a simple model without any dependencies, which demonstrates that issue? If that's possible, please export and upload that model for review here to this issue, so that we can find out what's wrong.
- Status changed to Postponed: needs info
about 1 year ago 2:46pm 2 January 2024 - 🇩🇪Germany jurgenhaas Gottmadingen
Is this being fixed or do you need more support on it?
- 🇲🇾Malaysia amal.bukhari
Hi,
Used the action switch current user, worked wonders! Thanks a lot for the heads up!
Regards,
Amal. - Status changed to Closed: works as designed
about 1 year ago 3:00pm 2 January 2024 - Status changed to Fixed
about 1 year ago 3:01pm 2 January 2024 - 🇩🇪Germany jurgenhaas Gottmadingen
Thanks for your feedback. Marking as fixed, since that's what we need for issue credits.
Automatically closed - issue fixed for 2 weeks with no activity.