check for process permission on each queue before outputting.
1 unresolved thread
Closes #3410647
Merge request reports
Activity
added 4 commits
-
44d4ec6c...2ae17732 - 3 commits from branch
project:3.1.x
- afaef612 - check for process permission on each queue before outputting.
-
44d4ec6c...2ae17732 - 3 commits from branch
219 219 */ 220 220 $queues = $this->queueWorkerManager->getDefinitions(); 221 221 foreach ($queues as $name => $queue_definition) { 222 $queue = $this->queueFactory->get($name); 223 224 $operations = []; 225 // If queue inspection is enabled for this implementation. 226 if ($this->queueUIManager->fromQueueName($name)) { 227 $operations['inspect'] = [ 228 'title' => $this->t('Inspect'), 229 'url' => Url::fromRoute('queue_ui.inspect', ['queueName' => $name]), 222 if ($this->currentUser->hasPermission('process ' . $name . ' queue')) {
Please register or sign in to reply