Problem/Motivation
Users who have permission to "Manipulate all queues" and "Manipulate queues", can't click on the admin menu item :
Structure > Entityqueues > Custom Entityqueue Name
They receive a access denied.

If a user clicks on any of these, with the permissions shown above, they get access denied. I think they should be taken to the EDIT ITEMS interface instead.
When they click on STRUCTURE > ENTITYQUEUES they can see the list of queues, and click on edit items there.
Steps to reproduce
1. Give users "Manipulate all queues" and "Manipulate queues" permissions.
2. Ask them to use the admin toolbar to access a specific queue as shown in the screen shot above.
Proposed resolution
Make those menu items take you to the EDIT ITEMS screen instead.
This should be the default, for many reasons, but mainly that most interactions with this UX will be in managing the items, not configuring them.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3347301_8.patch | 4.13 KB | kobusvw |
Issue fork entityqueue-3347301
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 #2
amateescu commentedThis is a good point, it's also what we do on the queue list page where we link to either the edit items page for simple queues and to the subqueue list page for multiple subqueues.
I got this far with a patch but the admin menu still uses the queue's edit link for that menu item.. couldn't yet figure out why.
Comment #5
dieterholvoet commentedI created a MR with a rebased version of
3347301.patch.Comment #6
dieterholvoet commentedComment #7
dabbor commentedAdding a patch file for safe referencing in composer based on the MR with rebased version provided above (https://git.drupalcode.org/project/entityqueue/-/merge_requests/36.patch) to be able to be able to use it with the latest release 8.x-1.9 ( https://www.drupal.org/project/entityqueue/releases/8.x-1.9 ).
Comment #8
kobusvw commentedUpdate of Patch to work with 8.x.1.9
Comment #9
cbI have been reading over the changes in 1.10 and it appears that https://www.drupal.org/project/entityqueue/issues/3396136 resolves this issue. @amateescu has commented and committed the issue there.
@kobusvw @dieterholvoet @dabbor What do you think?
Comment #10
anybodyIf this is indeed fixed and a duplicate, here's something similar in the latest stable release that should be fixed then: #3581435: After saving an entityqueue 403 with update permissions
Comment #12
amateescu commentedPushed a change so we don't regress on the fixes from #3396136: Fixes to permissions and merged, thanks!