It seems this module does not play well with features..

Druing site install or feature revert I get errors similar to code block below:

No module defines permission "assign editor role".

I was able to use the roleassign module succesfully

projects[roleassign][type] = module
projects[roleassign][subdir] = contrib
projects[roleassign][download][type] = git
projects[roleassign][download][revision] = 8cd473c471c65b3515d688738628e43abc48986a
; Features export - https://www.drupal.org/node/2189541#comment-8451553
projects[roleassign][patch][] = https://www.drupal.org/files/issues/roleassign-features-export-2189541-1...

Comments

ryan_courtnage’s picture

I also see this. I suspect that if you look in the "Role delegation" section of your permissions page, you will notice that "assign editor role" doesn't exist there on the site you are trying to revert the Feature on. Current thinking is that Role Delegation might need a higher module weight...?

ryan_courtnage’s picture

Status: Active » Postponed (maintainer needs more info)

Drupal 7 stores a variable "user_admin_role", and it's value is set @ "admin/config/people/accounts". Whatever role is set will be excluded from the roles made available to Role Delegation. This is by design.

OP, I suspect that this setting was set to "assign editor role"?

JeroenT’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

It’s been a while since the last comments in this issue. If this is still a problem feel free to reopen and provide patches.