Problem/Motivation

We need to give permission to certain roles to access SimpleMeta list page (/admin/content/simplemeta). Currently it's not possible, only administrator can access the page.

Steps to reproduce

Create some role and give the role permission Administer SimpleMeta. SimpleMeta list page (/admin/content/simplemeta) will not be accessible by user of that role.

Proposed resolution

Two possible resolutions:
1. add 'access simplemeta overview' to simplemeta.permissions.yml file.
2. change 'access simplemeta overview' permission to 'administer simplemeta' in SimplemetaEntityHtmlRouteProvider.php (line 50).

Comments

yugro created an issue. See original summary.

yugro’s picture

Assigned: yugro » Unassigned
Status: Active » Needs work
yugro’s picture

Assigned: Unassigned » yugro
yugro’s picture

StatusFileSize
new637 bytes
new637 bytes

Changed legacy permission name to the only one which is used to administer module.

yugro’s picture

Assigned: yugro » Unassigned
Status: Needs work » Needs review
kenyoowen’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new65.71 KB
new87.03 KB

Hi yugro

I applied patch #4 against the Simple Meta 8.x-2.0 and with core version 9.5.3 and it is working properly as expected.

Please see the screenshot attached.
Thank You