WordPress.org

Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #19834


Ignore:
Timestamp:
01/15/2012 10:09:43 AM (6 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19834

    • Property Cc xoodrew@… added
    • Property Keywords needs-patch added
  • Ticket #19834 – Description

    initial v3  
    11Attachments/files should have their own set of capabilities mirroring those of posts, in addition to upload_files. Specifically:
    22
    3 -edit_attachments
    4 -edit_others_attachments
    5 -delete_attachments
    6 -delete_others_attachments
     3- edit_attachments
     4- edit_others_attachments
     5- delete_attachments
     6- delete_others_attachments
    77
    88Currently, attachments rely on the edit_posts capability, which can create complications if you don't want your users to see the "Posts" sidebar item, or don't want them to be able to delete the attachments they upload.