Everyone with access to administration pages, for example editors, has access the search404 administration page. In my opinion, this is too open.

I propose to re-use core's Search module administration permission.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sutharsan created an issue. See original summary.

Sutharsan’s picture

Status: Active » Needs review
FileSize
374 bytes

This patch changes the permission to 'administer search'.

anish.a’s picture

Assigned: Unassigned » anish.a

Patch looks good. Have to port it to 7.x also. Taking this.

glen.pinheiro’s picture

Assigned: anish.a » glen.pinheiro
glen.pinheiro’s picture

FileSize
508 bytes

Added patch for Drupal 7.x

anish.a’s picture

Assigned: glen.pinheiro » anish.a
Status: Needs review » Reviewed & tested by the community

anish.a’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Patch is committed. Thanks to Sutharsan and Glen.

anish_zyxware’s picture