Hi Rui,
Now, when I am reading my previous message, I am seeing that my explanation about the plugin was not clear. I am sorry for that.
This API host job access
plugin is an action plugin. Action plugins do not work after configuration but they need to be attached to an event/action in Bacularis. To attach this action you need this additional plugin:
https://addons.bacularis.app/add-on/16/job-action/
This plugin is pre-installed and it should be available in Bacularis 5.3.0
. When you will configure the Job action plugin, you need to:
- select the action type (event). In this case it will be
post-create
job action.
- select the API host job action plugin settings. This way you link the
post-create
action with the API host job action
plugin settings. After that, for each newly created job this API host job action
plugin will be executed.
More details about this behaviour you can see here:
https://bacularis.app/doc/plugins/basic.html#bacularis-action-plugins
and here:
https://bacularis.app/doc/plugins/basic.html#bacularis-run-action-plugins
The documentation for this Job action
plugin you can find here:
https://bacularis.app/doc/plugins/run-action/job-action-plugin.html
Please let us know how the configuration went on your side.
Good luck.
Best regards,
Marcin Haba (gani)
PS. For the question about need to run the job, this job does not has to be running. To run action on job start there is another event named pre-run-manually
or post-run-manually
, but in this case it is not needed if wan to add job to ACLs on the job creation.