Problem/Motivation

If a lower-level admin role has the access taxonomy overview permission, but not administer blocks, they cannot access /admin/structure.

This means that the child links of /admin/structure, such as /admin/structure/taxonomy do not appear in the admin toolbar.

Possibly related to #3413508: Admin page access denied even when access is given to child items, although that is for 11.x

Steps to reproduce

1. create a role with the following permissions:

  • access administration pages
  • access taxonomy overview

2. create some taxonomy vocabularies
3. log in as a user with that role
4. go to /admin/structure/taxonomy - you can access the page
4. go to /admin/structure- access is denied

If the administer blocks permission is granted, then users can access /admin/structure

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3415709

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

malcomio created an issue. See original summary.

malcomio’s picture

Issue summary: View changes

malcomio’s picture

Status: Active » Needs review

Merge request 6234 is based on MR 6100 against 11.x for #3413508: Admin page access denied even when access is given to child items, but doesn't include the tests.

It seems to work as expected from some very limited testing so far.

needs-review-queue-bot’s picture

Status: Needs review » Needs work
StatusFileSize
new1.02 KB

The Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

jelle_s’s picture

I'm assuming the fix in #3413508: Admin page access denied even when access is given to child items fixes this issue as well? If so, you can close this as duplicate. Fixes like this will be committed to 11.x first and then backported to 10.2.x

malcomio’s picture

Status: Needs work » Closed (duplicate)

Yes - it does seem to be the same issue, and the equivalent fix seems to address it.

ameymudras’s picture

StatusFileSize
new1.48 KB

Adding a patch here from the MR provided above just so anyone can use in their builds.

roy-2804’s picture

3415709-permission-fix.patch works perfectly!