WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#17510 closed defect (bug) (fixed)

More accurate permission checking on multisite dashboard

Reported by: johnbillion Owned by: nacin
Priority: normal Milestone: 3.2
Component: Administration Version: 3.2
Severity: minor Keywords: has-patch
Cc:

Description

The dashboard widget that outputs the storage space quota checks for the 'edit_posts' capability before displaying its contents. It should check for the the 'upload_files' capability instead so this information is hidden from contributor level users.

Attachments (1)

17510.patch (592 bytes) - added by johnbillion 2 years ago.

Download all attachments as: .zip

Change History (4)

johnbillion2 years ago

comment:1 johnbillion2 years ago

  • Keywords has-patch added

Patch

comment:2 scribu2 years ago

  • Milestone changed from Awaiting Review to 3.2
  • Type changed from enhancement to defect (bug)

comment:3 nacin2 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [17973]:

Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.

Note: See TracTickets for help on using tickets.