WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 8 months 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 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 11 months ago.

Download all attachments as: .zip

Change History (8)

#1 @johnbillion
11 months ago

  • Description modified (diff)

@johnbillion
11 months ago

#3 @johnbillion
9 months ago

In 41796:

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

See #41453

#4 @jeremyfelt
8 months ago

  • Focuses multisite added

#5 @jbpaul17
8 months ago

  • Keywords has-patch added; needs-patch removed

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


8 months ago

#7 @johnbillion
8 months 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.