Permissions are not allowed to have special chars like single quotes and other non english characters. In my installation update of link checker module failed because of single quotes in the permission name "access 'Pending' tab" in Revisioning module. Please check #532178: Database update #6209 failed and #539666: Permission names (for homebox names containing special chars)

Comments

rdeboer’s picture

Category: bug » task
Status: Active » Closed (won't fix)
hass’s picture

Category: task » bug
Status: Closed (won't fix) » Active

Incorrect. Please read the linked articles. CORE does not support permission names with single quotes / special chars. Revisioning MUST filter all other chars out. See http://drupal.org/node/539666#comment-1933412 for an example or better read the full conversation in this case.

hass’s picture

This is the buggy line!

function revisioning_perm() {
  return array("access 'Pending' tab", 'edit revisions', 'publish revisions', 'unpublish current revision', 'view revisions of own content');
}
hass’s picture

Also see Gabors comment on this in http://drupal.org/node/540016#comment-1927142

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Active » Fixed

Committed to repository. New development snapshot available later today.
Please make sure you also install the latest development version of Module Grants and run the update script (#6207) to remove any quotes from existing permissions on the db.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.