Skip Navigation

[Resolved] I want hide my media files, but user should be able to add pictures

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#593111

1. I created new user role
2. Users with this role should be able to add pictures
3. But they should not see my own pictures and pictures other users

My problem is:

I do not understand how to achieve this.

In the first case - they see all the uploaded to the site pictures
In the second case - they do not see all uploaded to the site pictures, but can not upload their own pictures

What checkboxes should I mark to achieve the result I need?

#593321

Dear serhiiK,

I assume we are talking about the "Media library" in wordpress admin side.
If it is, the "Media" post is a wordpress built-in post type, you can use Access plugin to setup the access to the post type, see our document:
Access Control for Standard and Custom Content Types
https://toolset.com/documentation/user-guides/setting-access-control/