Permissions
Access these settings at MediaVerse > Settings > Permissions.

Custom Capabilities
Section titled “Custom Capabilities”MediaVerse registers the following custom WordPress capabilities:
| Capability | Description |
|---|---|
upload_mvs_media |
Upload new media files |
edit_mvs_media |
Edit own media posts |
edit_others_mvs_media |
Edit media posts created by other users |
delete_mvs_media |
Delete own media posts |
delete_others_mvs_media |
Delete media posts created by other users |
moderate_mvs_media |
Access the moderation queue and approve/reject media |
manage_mvs_settings |
Manage MediaVerse settings (finer-grained grant checked by settings actions; the admin menu itself gates on core manage_options) |
manage_mvs_access |
Manage custom access grants for private media |
read_mvs_media |
View media (used for private media visibility checks) |
publish_mvs_media |
Publish media posts immediately (without pending review) |
Default Role Assignments
Section titled “Default Role Assignments”| Role | upload | edit own | delete own | moderate | manage settings |
|---|---|---|---|---|---|
| Administrator | Yes | Yes | Yes | Yes | Yes |
| Editor | Yes | Yes | Yes | Yes | No |
| Author | Yes | Yes | Yes | No | No |
| Contributor | Yes | Yes | Yes | No | No |
| Subscriber | Yes | No | No | No | No |
Changing Permissions
Section titled “Changing Permissions”- Go to Media > Settings > Permissions.
- Check or uncheck capabilities for each role.
- Click Save Permissions.
The page shows how many roles were updated. If no changes were needed, it shows “No changes were needed.”
Granting Capabilities Programmatically
Section titled “Granting Capabilities Programmatically”You can grant or revoke capabilities in your theme’s functions.php or a custom plugin:
// Grant moderation capability to a custom role.$role = get_role( 'shop_manager' );if ( $role ) { $role->add_cap( 'moderate_mvs_media' ); $role->add_cap( 'manage_mvs_access' );}Important Notes
Section titled “Important Notes”- The
moderate_mvs_mediacapability grants access to the moderation queue and the ability to see all media regardless of privacy level. - The MediaVerse admin menu pages (Settings, Moderation, Logs, etc.) are registered against the core
manage_optionscapability. Themanage_mvs_settingscapability is a finer-grained grant some settings actions and dashboard links check, so it can be assigned to non-administrator roles that should manage MediaVerse without fullmanage_optionsaccess. - Capabilities are stored in the WordPress
wp_user_rolesoption and persist after plugin deactivation.

