You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Function
\Pimcore\Tool\Console::checkExecutingUser();
allows to pass an array with allowes users to execute.
Within ProcessManager in the Trait these function is been called at Line 114 within "initProcessManager"
In the Sample Command there is an additional call to the same method.
There i've the option to pass more differente users like:
thx for the hint with the sample command - it was redundant so i removed it from the SampleCommand.
I think we could define the users which are allowed to execute the processes globally - so we don't have to define them on each command. What do you think?
As in 820f28c you would just have to add the users in the "additionalScriptExecutionUsers" config parameter.
The Function
\Pimcore\Tool\Console::checkExecutingUser();
allows to pass an array with allowes users to execute.
Within ProcessManager in the Trait these function is been called at Line 114 within "initProcessManager"
In the Sample Command there is an additional call to the same method.
There i've the option to pass more differente users like:
Would make sense to give the option to initProcessManager, maybe in this manner:
The text was updated successfully, but these errors were encountered: