Acquia Lightning creates several roles and permissions during installation for use with content creation and review, and are directly based on the available content types. These roles are part of the Lightning Roles component.
For experienced developers, these roles may be unnecessary, as having several more defined roles can cause the role management on the website to become unmanageable.
Although this feature is installed by default, you can disable role creation during either of the following situations:
Note
Disabling role creation by Lightning Roles after installation doesn’t remove roles created during the installation process.
Other Acquia Lightning components introducing roles will have those roles
as an optional configuration, which will carry a dependency on
lightning_roles
.
Since Acquia Lightning uses sub-profiles during the installation process, you can use them to disable the Lightning Roles component in a sub-profile before installing Acquia Lightning.
By default, the Lightning Roles modules is located at
/docroot/profiles/lightning/modules/lightning_features/lightning_core/modules/lightning_roles
.
For more information about creating and editing installation profiles, see How to Write a Drupal 8 Installation Profile on Drupal.org.
After installation, if you want to prevent Lightning Roles from creating other content creation and review roles, complete the following steps: