Noting an issue we discovered with localgovdrupal/localgov_job_vacancies#1
in that we can't assign permissions to scheduled transitions, becuase the job_vacancies arn't added as an enabled type of scheduled transitions.
If the modules are installed in the order localgov_job_vacancies and then localgov_workflows, job_vacancies are added as an enabled type and the permissions are correctly assigned. It does not work the other way round.
This is because localgov_workflows enables scheduled transitions for all content types, but only during hook_install.
If a module currently wants to opt in to scheduled transitions after localgov_workflows is installed, then it needs to opt in seperatly, like localgov_blogs does. Note, this is the only version I can find, other modules do not have an implementation though localgov_job_vacancies will be adding support.
This leads to the question of what is the correct approach here, as either localgov_workflows or all other modules providing content types are going to need to provide an implementation.
Noting an issue we discovered with localgovdrupal/localgov_job_vacancies#1
in that we can't assign permissions to scheduled transitions, becuase the job_vacancies arn't added as an enabled type of scheduled transitions.
If the modules are installed in the order localgov_job_vacancies and then localgov_workflows, job_vacancies are added as an enabled type and the permissions are correctly assigned. It does not work the other way round.
This is because localgov_workflows enables scheduled transitions for all content types, but only during hook_install.
If a module currently wants to opt in to scheduled transitions after localgov_workflows is installed, then it needs to opt in seperatly, like localgov_blogs does. Note, this is the only version I can find, other modules do not have an implementation though localgov_job_vacancies will be adding support.
This leads to the question of what is the correct approach here, as either localgov_workflows or all other modules providing content types are going to need to provide an implementation.