Problem/Motivation

The settings form requires the permission access site administration, but that permission doesn't exist. So only administrators can open the form.

It was incorrectly changed to this in #3317067: Wrong permission used for config form. The core persmission it should use is administer site configuration.

Steps to reproduce

  1. Log in as a user who has administer site configuration but isn't an administrator.
  2. Go to /admin/config/system/customerror.
  3. You get access denied.

Proposed resolution

  • Use administer site configuration, same as core's settings forms.
  • Add a test
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

loze created an issue. See original summary.

loze’s picture

Title: Settings form requires a permission that does not exist » Settings form requires a nonexistent permission
Issue summary: View changes

loze’s picture

Status: Active » Needs review
loze’s picture

Issue summary: View changes
loze’s picture

Issue summary: View changes