Change WordPress user roles and capabilities › Forums › How to or FAQ › Edit Page – but a specific page only › Reply To: Edit Page – but a specific page only
02/10/2019 at 01:46
#5963
Vladimir
Keymaster
WordPress checks for media library item the same permissions as for the posts or page to which it is attached. So if user can delete page he can delete image attached to this page too. Try delete_pages and delete_others_pages.
When user restricted by edit a specific page – he sees/can edit/delete this page only and sees only his own images and images attached to this page.