"My Workbench" link appears for Anonymous Users

Created on 28 October 2019, about 5 years ago
Updated 21 September 2023, about 1 year ago

I was under the impression that given the following code snippet (unmodified from Workbench distribution), the "My Workbench" link would not appear if the user was "Anonymous".

workbench.content:
  path: '/admin/workbench'
  defaults:
    _controller: '\Drupal\workbench\Controller\WorkbenchContentController::content'
    _title: 'My Workbench'
    _description: 'My Workbench area'
  requirements:
    _permission: 'access workbench'

As the screenshots show, this is not the case. User is not logged in, regular and mega menu show link, and Anonymous user does not have Workbench permissions.

I'm not sure why, but it could be a misunderstanding on my part.
Please advise. Thanks!

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States arnaldop St Cloud, FL

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024