Wonky permissions for editing items in a queue.

Created on 10 March 2023, over 1 year ago
Updated 4 May 2023, over 1 year ago

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.

✨ Feature request
Status

Needs review

Version

1.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

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

Comments & Activities

  • Issue created by @alphex
  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 8.1 & MySQL 5.7
    last update over 1 year ago
    4 pass
  • πŸ‡·πŸ‡΄Romania amateescu

    Make those menu items take you to the EDIT ITEMS screen instead.

    This 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.

Production build 0.71.5 2024