[wp-trac] [WordPress Trac] #40340: "Attach to existing content" modal shows posts and pages of other users
WordPress Trac
noreply at wordpress.org
Sun Apr 2 15:19:17 UTC 2017
#40340: "Attach to existing content" modal shows posts and pages of other users
-----------------------------+-----------------------------
Reporter: menakas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: 4.7.3
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
From the Media library, a user can attach media (through the Attach link)
that were uploaded by himself only. The first image shows the Attach links
appearing for certain media only.
In the same way, the "Attach to existing content" should also list only
those posts/pages for which the user has the permissions to attach.
Instead it lists all posts (including private) and pages of all users, and
then, upon selection, gives the message "Sorry, you are not allowed to
edit this post."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40340>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list