Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Restrict access to content by Author in Media Library › Reply To: Restrict access to content by Author in Media Library
20/09/2018 at 14:23
#5143
Vladimir
Keymaster
Hi @dumagroup,
If you turn ON “Own data only” checkbox for role at “Edit Posts” then user with such role will see just his own media library items only at Media Library and his own posts/pages only at Posts/Pages list too.
So you don’t need to try code recipes from above in order to restrict users to only have access/manage their own media that they have uploaded.