New permission to only edit entity sitemap settings

Created on 17 April 2024, 12 months ago
Updated 17 September 2024, 7 months ago

Problem/Motivation

Currently, this module provides only the 'Administer sitemap settings' that allow editing all the module's settings. Ideally, we would have a new permission to allow users to edit the settings on entities without allowing them to change the other module settings.
This would be helpful, for example, for an 'editor' role for which we want to give the ability to override the sitemap settings for the specific entity on the Node form without allowing users to alter the other settings on the module's configuration page.

Proposed resolution

Attaching a patch with the above. Adds a new permission and check in the formAlterAccess method of the FormHelper.php.

Remaining tasks

Test and Review

✨ Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom andreastkdf

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