Problem/Motivation
When trying to access the route bibcite_entity.keyword.settings as UID 1 or a user with the administer bibcite permission, a 403 is returned.
Steps to reproduce
- Install site
- Install bibcite_entity module
- Login with a user that has the permission
administer bibcite - Go to route bibcite_entity.keyword.settings (/admin/structure/bibcite/keyword/settings)
- See Access denied error
Proposed resolution
Create a custom form for this route rather than using _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
Remaining tasks
Create failing tests
Create an empty config form
User interface changes
API changes
Data model changes
Issue fork bibcite-3490215
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
liampower commentedComment #6
mark_fullmerThe proposal above involves adding an empty settings form. It appears that there are no intended settings for the Bibcite Keyword entity at this point in time, so I would instead recommend removing the route/links that are erroneously referencing it. I've created a separate merge request for that.
If there is a reason that we should have an empty settings form for keyword entities, please explain!
Comment #7
mark_fullmerComment #8
mark_fullmer