Use case:
I have a multisite installation in which I want to define a global configuration to be available to all subsites. I define this configuration in the default site. For this example let's say that is:
- a role editor
- a content type Article
- a content type Page
Now..
- In all subsites that role editor need to have the permission "Use the toolbar". A global permission.
- In subsite-a, I want to allow the editor to only add nodes of type Article
- In subsite-b, I want to allow the editor to only add nodes of type Page
To add to that, let's say in the future I need to add a permission to the global set, I want to be able to import that set of permissions to all subsites without overriding any individual subsite permissions.
Currently I am using config_split and added user.role.editor.yml to the conditional section but I can't seem to make it work with the scenario described above.
Question:
How to maintain a global set of permissions and per site set of permissions without the global config overriding the config of the subsite? They need to rather extend each other so to say.
Any suggestions/help?