On a fairly fresh installation I deactivated the Events component and get the following error when trying to save Drupal's user permissions:

RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "register for events", "view event info", "view event participants". in Drupal\user\Entity\Role->calculateDependencies() (line 207 of /opt/drupal/web/core/modules/user/src/Entity/Role.php).

It does not occur with active Events component and unchecking those three permissions and then disabling Events fixes it as well. Is this a (Drupal) bug?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.