Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Feb 2010 at 03:21 UTC
Updated:
29 Jul 2010 at 04:32 UTC
To reproduce:
- Have an administrator role.
- Create a new content type.
- Review permissions for the administrator role.
Expecting:
- administrator role to have permissions for new content type.
What happened instead:
- administrator role did not have permissions for new content type.
This issue could affect any module that dynamically generates permissions.
Comments
Comment #1
Freso commentedThis does not just apply to content types, any dynamically generated permissions created after a module's install won't be caught by user.module:
This is the only place new permissions are granted to
user_admin_role, which might also mean that permissions added with module updates aren't caught either (though I haven't tested this).Comment #2
webchickIt looks like this issue is older, but #787152: Dynamic permissions cannot be automatically assigned to or removed from roles has more discussion. Marking as duplicate.