I found this bug because I am not using role-based node access grants. Despite the fact that no roles had been enabled for access grants, the roles table would still be drawn. Only the table header appears - 'Role | Edit', in my case. The problem was here, in nodeaccess.module on line 474:

if (count($roles) > 0) {

This would always return TRUE, regardless of whether and roles had been enabled. I replaced it with:

if (array_search(1,$allowed_roles)) {

where $allowed_roles is an array containing the values from the nodeaccess settings form (line 469).

Comments

Anonymous’s picture

Status: Needs review » Fixed

fixed, will publish development release soon

Status: Fixed » Closed (fixed)

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