Skip to content

'view_all_aryo_activity_log' fallback capability #139

@pedalmeat

Description

@pedalmeat

Maybe i am missing something but there is a capabilitycheck for 'view_all_aryo_activity_log' in create_admin_menu() but falls back to 'edit_pages' capability. If the check returns true the user is able to see the Activity Log menu, if returns false you can se the menu item still as the most users are in a role that can 'edit_pages'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions