I'm a bit confused about the presence of permissions like 'Edit users with role anonymoususer'.

Surely there is no user with this role that can be edited, only the special user 0.

Files: 
CommentFileSizeAuthor
#1 remove_anonymoususer_permissions-1864910-1.patch720 bytesBWPanda
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

Comments

Version:7.x-1.0-beta1» 7.x-1.x-dev
Status:Active» Needs review
StatusFileSize
new720 bytes
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

Here's the world's simplest patch that fixes this issue.

Hi! I agree, include the anonymouse user has no sense.

user_roles($membersonly = FALSE, $permission = NULL)

Patch works! :)

Status:Needs review» Reviewed & tested by the community

I forgot to move it to reviewed.