Change admin_permission for SiteSettingEntityType to access site settings overview

Created on 17 June 2024, 3 months ago
Updated 7 August 2024, about 2 months ago

Problem/Motivation

If we add the site settings type field to the site settings overview page view then users with user roles other than administrator are not able to see the site setting type because admin_permission for site setting type entity is set to "administer site configuration" but we can't give this permission to users other then administrators as it will have security implications.

Steps to reproduce

  1. Edit the site settings view(/admin/structure/views/view/site_settings).
  2. Add site settings type field in the fields and save the view.
  3. Go to site settings overview with a user logged in with content editor user role.
  4. User can't see the site settings type field value.

Proposed resolution

We should change the admin permission in SiteSettingEntityType to access site settings overview permission similar to the admin_permission as used in the SiteSettingGroupEntityType

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India sahilgidwani Jaipur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024