Media Permissions – Delete Others Files – WPFront https://wpfront.com/support/topic/media-permissions-delete-others-files/feed/ Wed, 05 Feb 2025 07:48:11 +0000 https://bbpress.org/?v=2.6.6 en-US https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-9964 <![CDATA[Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-9964 Thu, 28 May 2015 13:34:42 +0000 Aaron Percival Hi there,

I brought the Personal Pro version of this plugin as I was interested in it for the Media Permissions. However, I can’t seem to get those permissions to work. I tried adding all the Media capabilities to various roles and I still wasn’t able to delete existing files in the Media library.

I also tried creating a role from scratch and giving it all the Media capabilities and still wasn’t able to delete these files.

That functionality was the reason I brought the plugin. Any advice would be greatly appreciated 🙂

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-9966 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-9966 Thu, 28 May 2015 14:47:32 +0000 Syam Mohan Hi Aaron,

Media Permissions gives you one more layer of restriction which WordPress doesn’t support by default. In WordPress media permissions checks against post capabilities. To delete a media they will need delete_posts capability. delete_posts capability allow them to delete their own posts as well as media. This check happens within the WordPress core. If you want a setting where you want the user to delete the posts but not the media, that’s when WPFront Media Permissions help you. So try giving the role delete_posts capability.

Thanks

Syam

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10031 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10031 Fri, 29 May 2015 15:06:16 +0000 Aaron Percival Hi Syam,

I tried giving the new role I created (Media Editors) the delete_posts capability and it didn’t help.

I’ve got all my users set as Subscribers as default. I’m using Press Permit Core to then permission out the ability to edit certain pages and all their children pages. Press Permit Core then makes them Editors of those specific pages. I tried giving them an additional role as Media Editor with all Media options ticked and delete_posts unticked.

Is there anything that might be going wrong there?

Thanks

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10033 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10033 Fri, 29 May 2015 16:27:47 +0000 Syam Mohan Hi Aaron,

Can you try enabling all the capabilities under “Posts”?

Thanks

Syam

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10168 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10168 Mon, 01 Jun 2015 13:12:57 +0000 Aaron Percival Hi Syam,

The Media Editor role now have all options under Media and Posts ticked. I still can’t delete the media (I can know assign Media Categories which was going to be another question so that’s been sorted, woo!)

Anything else?

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10184 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10184 Mon, 01 Jun 2015 16:33:08 +0000 Syam Mohan Can you disable all the plugins and check?

Thanks

Syam

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10294 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10294 Wed, 03 Jun 2015 09:09:48 +0000 Aaron Percival Actually, it was me being silly. I was logging in with the wrong test account. Adding delete_posts and delete_others_posts worked.

You can mark this as resolved.

Thanks for your help.

]]>
https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10364 <![CDATA[Reply To: Media Permissions – Delete Others Files]]> https://wpfront.com/support/topic/media-permissions-delete-others-files/#post-10364 Thu, 04 Jun 2015 03:30:06 +0000 Syam Mohan Glad to know that.

Thanks

]]>