Object Cache Pro

Authorization

Several components of Object Cache Pro are only accessible to users with certain permissions.

Roles & Capabilities

Object Cache Pro uses the objectcache_manage capability that directly maps to WordPress’ install_plugins capability, which is by default only available to administrators.

Restricted Components

Dashboard widget

The dashboard widget is only accessible to users with the objectcache_manage capability.

Site Health

The site health checks and diagnostic information are accessible to administrators, which is WordPress’ default.

WP CLI

The WP CLI commands are fully accessible to everyone with shell access to your installation.

REST API

The /objectcache/v1/* endpoints are accessible to all users with the objectcache_manage capability. You may alter this using the objectcache_rest_capability filter.

add_filter( 'objectcache_rest_capability', fn () => 'read');