Permission for entity.domain_route_meta_tag.collection is not using the right permission

Created on 3 October 2024, 7 months ago

Problem/Motivation

When trying to access the metatag list as a non-superuser you get permission denied.
I think the permission that's currently configured for this route is actually using a non existing dummy permission ('view contact entity').

Steps to reproduce

Log in as any role as long as it's not a superuser or admin role with similar rights.

Visit the '/admin/config/system/domain_route_meta_tag/list' page directly or check if you can see the button on the '/admin/config/system/domain_route_meta_tag/add' page.

a) Visiting the page you should get an 'Access denied' error
b) On the 'metatag add' page you should not see the button to view the metatag list.

Proposed resolution

Define a permission to view all route metatags.
Define this permission in the metatags list route.

When your non super-user role has this new permission they should be able to go to the metatag list.

Remaining tasks

Define a permission to view all route metatags.
Define this permission in the metatags list route.

User interface changes

/

API changes

/

Data model changes

/

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium Frederikvho Belgium

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