Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2015 at 07:39 UTC
Updated:
14 Mar 2023 at 11:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
handrus commentedPatch to check if permission exists before trying to merge to db.
Comment #2
sebas5384 commentedNice patch! simple and clean :)
Comment #3
alexpottFWIW Drupal 10 will throw an exception when a permission does not exist and you save a role. I don't think this change could be made in Drupal 7 because it could break things.