Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41453 closed defect (bug) (fixed)

Users with no role on a site on a multisite network see inaccessible links in the admin toolbar

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: 4.9 Priority: normal
Severity: normal Version: 3.0
Component: Users Keywords: needs-unit-tests has-patch
Focuses: administration, multisite Cc:

Description (last modified by johnbillion)

Previously, for single site installations: #25162

A user who is a member of a site on a multisite network but has no role on the site will encounter mostly the same problems as those which were fixed for single site users in #25162:

  • An immediate "You do not have sufficient permissions" error upon logging in.
  • An admin toolbar link to My Sites, which they cannot access.
  • An admin toolbar link to their profile, which they cannot edit.
  • An admin toolbar submenu link to the Dashboard of their site, which they cannot access.
  • A link to the Dashboard from My Sites, which they cannot access (if they're a member of at least one site with a role).

Attachments (1)

41453.patch (2.8 KB) - added by johnbillion 7 years ago.

Download all attachments as: .zip

Change History (8)

#1 @johnbillion
7 years ago

  • Description modified (diff)

7 years ago

#2 @johnbillion
7 years ago

Partial patch: 41453.patch.

#3 @johnbillion
7 years ago

In 41796:

Users: Remove some links to the dashboard from My Sites for users who cannot access it.

See #41453

#4 @jeremyfelt
7 years ago

  • Focuses multisite added

#5 @jbpaul17
7 years ago

  • Keywords has-patch added; needs-patch removed

This ticket was mentioned in Slack in #core by jeffpaul. View the logs.

7 years ago

#7 @johnbillion
7 years ago

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

Closing as fixed for 4.9. Follow-up: #42315.

Note: See TracTickets for help on using tickets.