Permissions that depend on disabled modules prevent any editing/creation of other permissions

Created on 13 July 2022, over 2 years ago
Updated 1 August 2023, over 1 year ago

Steps to reproduce

  1. make sure that the dblog module is enabled
  2. head to admin/people/custom-permissions/list and add a custom permission called "Administer error logs" (or anything you find appropriate), with its route set to dblog.overview
  3. save the permission
  4. disable/uninstall the dblog module
  5. head back to admin/people/custom-permissions/list and try to adit any existing custom permission, or to add a new one, or even try to save the form without making any changes

The above results in an error message, and the form has inline errors in the "Administer error logs" custom permission, saying "The route dblog.overview is invalid."

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇦🇺Australia klonos 90% Melbourne, Australia - 10% Larissa, Greece

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024