Create 'editor' role in code (rather than config) to avoid Features issues

Created on 10 August 2023, over 1 year ago

Currently, the 'editor' role is created via config in the panopoly_core module.

However, this can cause some problems with Features:

  1. We don't want reverting panopoly_core to reset the permissions to their original state
  2. Even though it's fine for a profile to override a config yaml from a module, there's a long-standing Features bug that makes Features act strangely when you try to do it: πŸ› Not detecting overrides in profile config files Needs review

Instead, creating it programmatically in hook_install() will eliminate these problems.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Core

Created by

πŸ‡ΊπŸ‡ΈUnited States dsnopek USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024