- Issue created by @stefan.korn
- Status changed to Needs review
5 months ago 1:34pm 19 July 2024
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".
- 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.
change permission in routing.yml
Users with "access entity sort" can see admin/content/sort
Needs review
1.0
Code