Installing LocalGov Publications using config import fails because localgov_roles_modules_installed() tries to add permissions before they exist - the new content type hasn't been imported yet. This probably applies to other LGD modules that create new content types.
I suggest localgov_roles_modules_installed() does nothing if $is_syncing is true. Can we assume that all permissions have been set already in config?
Installing LocalGov Publications using config import fails because
localgov_roles_modules_installed()
tries to add permissions before they exist - the new content type hasn't been imported yet. This probably applies to other LGD modules that create new content types.I suggest
localgov_roles_modules_installed()
does nothing if $is_syncing is true. Can we assume that all permissions have been set already in config?Steps to reproduce with DDEV: