- Issue created by @rex.barkdoll
I just have to say THANK YOU. I had something like 500 permissions across multiple roles that must have come over during our Drupal 7 migration. There was no way to remove these bad permissions because there was no way to reinstall those modules even temporarily and Drush didn't work. This module did the trick.
I was really worried I was going to have to write my own super hacky module and risk WSODing the website.
@msq and @simonbaese You're both total Legends and life savers! Thank you!
PS: I'm not sure if there's a way to talk to the Drush folks and get whatever you've done here included in the drush role:perm:remove command, but I was crushed when Drush didn't work and ecstatic when I found RIP.
For search engines and helping people find this:
Drush [error] Permission(s) not found:
, Permissions not found, Permissions of user role, Invalid Permissions will trigger runtime exceptions in Drupal 10. Permissions should be defined in a permissions.yml file or a permission callback.
Closed: works as designed
1.1
Code