Always trust setting for layer actions is not saved without a project file
Author: merydianCreated Sep 14, 2026Updated Sep 18, 2026
LabelsBug
What is the bug or the crash?
When I define an action and try to use it i get a Security warning: The action contains an embedded script which has been denied execution. warning with a prompt to set trusting settings for that action.
However if i click Always trust the setting is not saved and QGIS will prompt me again after retrying the action. One has to save a project and only then it works and the setting is saved. I.e it seems like that setting is saved in the project properties which won't work if no project is currently saved.
Steps to reproduce the issue
https://github.com/user-attachments/assets/bd328097-c9df-4d9f-9c9e-ec1abf8cc937
Versions
Head of my main is at d3b565c628d685ed5d7d3d5aff8b691e4446d8db
Supported QGIS version
- I'm running a supported QGIS version according to the roadmap.
New profile
- I tried with a new QGIS profile
No Duplicate of the Issue
- I have verified that there are no existing issues raised related to my problem.
Additional context
No response
Source: qgis/QGIS