Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Following on from the sterling work at https://www.drupal.org/node/2856833 it seems that a user with the relevant "Manipulate *" permission can still delete a queue via its admin menu link. I'd argue that this behaviour is a bug and that only users with the "Administer entityqueue" permission should be able to do this.
Comment | File | Size | Author |
---|---|---|---|
#3 | only-users-with-administer-entityqueue-should-be-able-to-delete-entityqueues-2916026-3.patch | 868 bytes | Omar Alahmed |
Comments
Comment #2
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedThat's a very good point! Do you want to work on a patch for fixing this bug? :)
Comment #3
Omar AlahmedGood point @danbohea. The following patch should solve the issue.
Comment #4
Omar AlahmedComment #5
Omar AlahmedYou can also check: Only users with "Administer entityqueue" should be able to edit (configure) entityqueues https://www.drupal.org/node/2917308
Comment #7
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedGood one :) Committed and pushed to 8.x-1.x. Thanks!