Skip to content

Use 'manage_options' as the permission check for /api route #106

@mlwilkerson

Description

@mlwilkerson

Our ConfigController has a permissions check for:

current_user_can( 'manage_options' )

But the API Controller has:

current_user_can( 'edit_posts' )

We should use the same in both places, probably changing the latter to use manage_options

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