Using core config management, we export configuration from developer's site instances and put than under version control. Eventually, this configuration is merged and ends up in production, where we import it thru either Drush or the UI. Trouble is, site owners have permissions to update block configuration, and this overrides our exported configuration.

What is the intended workflow in this case?

Put more generically: how to manage exported configuration that can be overriden by users (with a core CM workflow)?

  • I think that if your site users consider block configuration "content", then it should not be managed by configuration management. – mradcliffe Feb 25 '16 at 22:52
  • Unfortunately there isn't (yet) a way to exclude a configuration item from being managed by configuration management. The gray area of what is content and what is config will remain for a while. – gapple Feb 28 '16 at 1:16

Trouble is, site owners have permissions to update block configuration, and this overrides our exported configuration.

I thinks it's a bad idea to give site owner to change something in site-configuration. Site owner should take care only about site's content and should have permission to change site's configuration(block's configuration it's a site configuration).

My team will be altering our deployment process to ensure any production changes are incorporated into the exported configuration before final deployment.

  • Setup local environment to match code on production
  • Export configuration from production & overwrite local configuration
  • Stash or commit any changes
  • Merge with latest development code
  • Deploy code to production

Ideally, if we're aware of any in-production changes we will export and merge them during development as soon as possible, rather than waiting to do one big merge before deployment.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.