{"id":231653,"date":"2025-05-04T13:42:25","date_gmt":"2025-05-04T13:42:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/media-restriction\/"},"modified":"2025-05-05T18:25:32","modified_gmt":"2025-05-05T18:25:32","slug":"media-restriction","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/media-restriction\/","author":23283094,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Media Restriction","header_author":"upluggit","header_description":"Restrict media library access based on user roles","assets_banners_color":"e8fa92","last_updated":"2025-05-05 18:25:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/upluggit\/media-restriction","header_author_uri":"https:\/\/github.com\/upluggit","rating":0,"author_block_rating":0,"active_installs":20,"downloads":570,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"upluggit","date":"2025-05-04 13:41:59"},"1.0.1":{"tag":"1.0.1","author":"upluggit","date":"2025-05-04 16:45:32"},"1.0.2":{"tag":"1.0.2","author":"upluggit","date":"2025-05-05 17:38:16"},"1.0.3":{"tag":"1.0.3","author":"upluggit","date":"2025-05-05 18:25:32"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3287965,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3287965,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3287965,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpeg":{"filename":"banner-772x250.jpeg","revision":3287246,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.jpeg":{"filename":"screenshot-1.jpeg","revision":3287185,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Media restriction settings page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1911,84,233,1505,1915],"plugin_category":[50,58],"plugin_contributors":[241778],"plugin_business_model":[],"class_list":["post-231653","plugin","type-plugin","status-publish","hentry","plugin_tags-access","plugin_tags-media","plugin_tags-media-library","plugin_tags-restriction","plugin_tags-roles","plugin_category-media","plugin_category-user-management","plugin_contributors-upluggit","plugin_committers-upluggit"],"banners":{"banner":"https:\/\/ps.w.org\/media-restriction\/assets\/banner-772x250.jpeg?rev=3287246","banner_2x":"https:\/\/ps.w.org\/media-restriction\/assets\/banner-1544x500.png?rev=3287965","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/media-restriction\/assets\/icon.svg?rev=3287965","icon":"https:\/\/ps.w.org\/media-restriction\/assets\/icon.svg?rev=3287965","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/media-restriction\/assets\/screenshot-1.jpeg?rev=3287185","caption":"Media restriction settings page."}],"raw_content":"<!--section=description-->\n<p>Media Restriction is a lightweight and powerful WordPress plugin that gives site admins full control over media library visibility. Easily restrict access to media files based on user roles, while selectively allowing individual users to bypass these restrictions.<\/p>\n\n<p>Perfect for multi-author blogs, online course platforms, membership sites, and client-based projects \u2014 this plugin ensures that users can only access their own uploads, reducing clutter, confusion, and potential privacy risks.<\/p>\n\n<p>Whether you're using default WordPress roles or custom roles created by LMS, membership, or e-commerce plugins \u2014 Media Restriction works seamlessly across your site.<\/p>\n\n<h3>\ud83c\udf1f Features<\/h3>\n\n<p>\u2705 Restrict Media Access by User Role\n\u2705 Exclude Individuals from Restrictions\n\u2705 Works with Custom User Roles\n\u2705 Compatible with both grid and list views of the media library\n\u2705 Compatible with All Plugins\n\u2705 Clean &amp; Simple Settings Panel<\/p>\n\n<h3>\ud83e\udde0 Use Cases<\/h3>\n\n<p><strong>Online Learning Platforms (LMS):<\/strong>\nPrevent instructors from seeing or using each other\u2019s uploaded course files. Allow a few trusted ones full access.<\/p>\n\n<p><strong>Client Sites &amp; Freelancers:<\/strong>\nLimit clients to only their own media files in multisite or shared admin setups.<\/p>\n\n<p><strong>Multi-Author Blogs:<\/strong>\nEnsure each contributor only sees their own images and uploads, keeping the media library tidy and secure.<\/p>\n\n<p><strong>Membership or Community Sites:<\/strong>\nAllow members to upload profile or content images but restrict them from accessing admin uploads.<\/p>\n\n<p><strong>Agencies &amp; Teams:<\/strong>\nGive your designers\/editors restricted media access while allowing managers or team leads full access.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20restrict%20media%20access%20for%20all%20user%20roles%3F'><h3>Does this plugin restrict media access for all user roles?<\/h3><\/dt>\n<dd><p>Yes, you can restrict media library access for any user role on your site \u2014 including custom roles created by other plugins.<\/p><\/dd>\n<dt id='can%20i%20allow%20specific%20users%20to%20bypass%20the%20restriction%3F'><h3>Can I allow specific users to bypass the restriction?<\/h3><\/dt>\n<dd><p>Absolutely! You can exclude individual users from the restriction settings, allowing them to see all media files.<\/p><\/dd>\n<dt id='%E2%81%A0%20%E2%81%A0does%20this%20plugin%20support%20custom%20user%20roles%3F'><h3>\u2060 \u2060Does this plugin support custom user roles?<\/h3><\/dt>\n<dd><p>Yes, Media Restriction works perfectly with any custom role registered by other plugins (e.g., LMS, membership, or user role editors).<\/p><\/dd>\n<dt id='%E2%81%A0%20%E2%81%A0will%20it%20work%20with%20other%20plugins%20i%20already%20use%3F'><h3>\u2060 \u2060Will it work with other plugins I already use?<\/h3><\/dt>\n<dd><p>Yes. This plugin is designed to be lightweight and fully compatible with all well-coded WordPress plugins.<\/p><\/dd>\n<dt id='%E2%81%A0%20%E2%81%A0will%20restricted%20users%20still%20be%20able%20to%20upload%20media%3F'><h3>\u2060 \u2060Will restricted users still be able to upload media?<\/h3><\/dt>\n<dd><p>Yes. Users can upload and manage their own media files, but they won't see files uploaded by others (unless granted permission).<\/p><\/dd>\n<dt id='%E2%81%A0%20%E2%81%A0does%20it%20affect%20existing%20media%20files%3F'><h3>\u2060 \u2060Does it affect existing media files?<\/h3><\/dt>\n<dd><p>No. The plugin only controls visibility in the media library \u2014 it doesn't modify or delete any existing files.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>removed extra tags<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>added github action<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>updated readme<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Restrict media library access based on user roles.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/231653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=231653"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/upluggit"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=231653"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=231653"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=231653"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=231653"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=231653"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=231653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}