WordPress plugin intelligence profile

Media Restriction

Restrict media library access by user role — with activity logging, and REST API protection.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version2.1.0
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 5.0 · PHP 7.4
Directory statusactive
Last directory update21 May 20265mo ago
Active installations70Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Media Restriction version 2.1.0 as active, updated 5mo ago and tested up to WordPress 7.0.

Overview

About this plugin

Media Restriction is a lightweight and powerful WordPress plugin that gives site admins full control over who can see what in the Media Library. Restrict access by user role so that users only see their own uploads, exclude trusted individuals from the restriction, and keep a full audit trail of every upload, deletion, and library view — all from a clean, modern settings panel.

Whether you manage a multi-author blog, an online course platform, a membership site, or a client project — Media Restriction ensures your media library stays tidy, private, and secure.

0 different:

0 is a complete rebuild. The settings page has been redesigned with a tabbed interface and instant role toggles (no page reloads). A new Activity Log records every media event with user, file name, IP address, and timestamp.

REST API protection closes the Gutenberg and headless bypass that most similar plugins miss entirely. And a critical bug affecting excluded users in the grid view has been resolved.

🌟 Features

Core restriction

✅ Restrict media library access by user role

✅ Works in both grid view (media modal) and list view (Media Library screen)

✅ Administrators always have full access — no configuration needed

✅ Exclude specific users from restriction — grant bypass access to trusted individuals regardless of their role

✅ REST API protection — /wp/v2/media respects the same restriction rules, covering Gutenberg and headless setups

Settings & admin

✅ Modern tabbed settings page — Roles & Users and Activity Log in one place

✅ Instant role toggles — enable or disable restriction per role without a page reload

✅ Live status badges on each role card showing user count and restriction state

✅ Header summary showing how many roles are restricted and users excluded

Activity log

✅ Tracks all upload, delete, and view events automatically

✅ Records user, file name, IP address, and timestamp for every event

✅ Displays the latest 30 entries in a clean admin table

✅ One-click clear log with confirmation prompt

Compatibility & clean code

)

✅ Compatible with Gutenberg block editor, classic editor, and headless setups

✅ Restricted users can still upload and manage their own files — restriction is visibility only

✅ No impact on existing media files — the plugin never modifies or deletes files

✅ Clean uninstall — removes all plugin options and database tables on deletion

🧠 Use Cases

Online Learning Platforms (LMS):

Prevent instructors from seeing or using each other’s uploaded course files. Exclude trusted course managers so they retain full access.

Client Sites & Freelancers:

Limit clients to only their own media uploads, keeping your own assets private and the library uncluttered.

Multi-Author Blogs:

Ensure each contributor only sees their own images and uploads. Exclude editors who need to manage all media.

Membership or Community Sites:

Allow members to upload profile or content images but restrict them from browsing admin or other members’ uploads.

Agencies & Teams:

Give designers and content editors restricted media access while allowing project leads or account managers full visibility.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • activity log
  • media library
  • restriction
  • roles
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 5.0 · PHP 7.4
Update activity21 May 20265mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.