Skip to content

The 'Check Permissions' page throws errors about missing permissions, when the role has those permissions. #21

@jenlampton

Description

@jenlampton

On my site I have a staff role that is supposed to create Draft content. When checking if this role has permission to "Author moderated content", the form displays with errors recommending permissions this role definitely has, like access content.

In the code, this module still uses $rid where we use role names now. It also uses the user_role_permissions() function to get the permissions for the specified role, but since we have the role loaded already, we can pull them from $role->permissions; in a more convenient format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions