Use "access entity sort" permission for Sort overview page

Created on 19 July 2024, 5 months ago

Problem/Motivation

The sort overview at admin/content/sort uses the drupal core permission "access administration pages". It seems a better fit to use "access entity sort" on this too.
Does not seem to make sense to have permission to access entity sort, but not permission to access the sort overview. Even if this would make sense in some usecase, it would then be better to have a own permission on this, rather than having the widespread drupal core permission "access administration pages".

Steps to reproduce

- give permission "access entity sort" to a user, but not permission "access administration pages".
- see that the user can access the sorts directly (admin/content/sort/type/bundle, but not the overview admin/content/sort.

Proposed resolution

change permission in routing.yml

Remaining tasks

User interface changes

Users with "access entity sort" can see admin/content/sort

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

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

Comments & Activities

Production build 0.71.5 2024