Adding non-existent permissions to a role is not allowed

Created on 11 July 2024, 10 months ago
Updated 12 July 2024, 10 months ago

Problem/Motivation

When Event Platform gets installed from config during drush cim this results in the following error:

$ drush cim -y
...
In Role.php line 210:

  Adding non-existent permissions to a role is not allowed. The incorrect per
  missions are "view field_r", "view field_time_slot".

Failed to run drush -y cim: exit status 1

Steps to reproduce

  1. drush -y site:install --account-name=admin --account-pass=admin
  2. drush -y en event_platform
  3. drush -y cex
  4. drush -y cget system.site uuid and note down UUID
  5. drush -y site:install --account-name=admin --account-pass=admin
  6. drush -y cset system.site uuid SITE-UUID-HERE-NOW
  7. drush -y entity:delete shortcut_set
  8. drush -y cim

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

leymannx Berlin

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

Comments & Activities

Production build 0.71.5 2024