Authorization
Several components of Object Cache Pro are only accessible to users with certain permissions.
Jump to heading 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.
Jump to heading Restricted Components
Jump to heading Dashboard widget
The dashboard widget is only accessible to users with the objectcache_manage
capability.
Jump to heading Site Health
The site health checks and diagnostic information are accessible to administrators, which is WordPress’ default.
Jump to heading WP CLI
The WP CLI commands are fully accessible to everyone with shell access to your installation.
Jump to heading 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');