Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The administrator role that is created by the Admin Role module is not accessible by the default formats configuration within the Better Formats module. When I remove admin role and the role it created and create my own administrator role I have access to the role again.
You can however enable admin role after that and the role remains available along with the admin role functionality of adding the permissions for newly enabled modules.
A fairly easy workaround, but out of the box there is a conflict it seems.
Comments
Comment #1
ar-jan CreditAttribution: ar-jan commentedConfirming, would be nice to have this working without the workaround.
Comment #2
Dave ReidI don't know why this wouldn't work. I'm using the Better formats with the role auto-created by Admin role and it's working just fine.
Comment #3
Danny EnglanderI just ran up against the same issue. The solution above to delete and then recreate the admin role also fixed my issue.
Comment #4
gorbeia CreditAttribution: gorbeia commentedIt happens the same with the "editor" and "contributor" roles created by the debut module (http://drupal.org/project/debut).
Comment #5
gorbeia CreditAttribution: gorbeia commentedIt seems that it is a bug in Better Formats #731810: Does not work with install profiles
Comment #6
dragonwize CreditAttribution: dragonwize commentedIt is not a bug in BF more so as a API deficiency in Drupal. There is not a role api so BF keeps track of role additions and deletions via the formapi. Without the api admin_role puts its role directly into the DB going around BF. BF does have some api functions for other modules and install profiles to integrate if needed. So not the best situation but unfortunately there is no perfect solution without a proper api. Thankfully we have an role api in D7.