Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, the 'editor' role is created via config in the panopoly_core
module.
However, this can cause some problems with Features:
- We don't want reverting
panopoly_core
to reset the permissions to their original state - 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: #2668562: Not detecting overrides in profile config files
Instead, creating it programmatically in hook_install()
will eliminate these problems.
Comment | File | Size | Author |
---|---|---|---|
#2 | panopoly-editor-role-3380561-2.patch | 2.44 KB | dsnopek |
Comments
Comment #2
dsnopekHere's the patch!
Comment #3
dsnopekCommitted