On a Drupal 8 multi site, we need to have unified ROLES/permission config in all sites.

Then we'll assign these roles to users via interface or Drush.

How could I export / import? Or even better sync these via Drush or other means?

  • Have these roles and permissions in a Features module. Use one instance to export the Feature and import in all other instances, then export config in all instances.
    – leymannx
    May 5 at 6:26
  • But this would require all sites to have the same uuid for roles right? Any tip?
    – MastaP
    Jun 14 at 13:25
  • I don't think so. But you could simply sync the UUIDs, or sync the roles by putting them into the Feature as well.
    – leymannx
    Jun 14 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.