Skip to content

[4.x]: hide text "failed" from sidebar #16184

@Megafry

Description

@Megafry

What happened?

Description

Users without access to the queue manager should not see failed jobs in the sidebar.

Steps to reproduce

  1. Make a queue job fail.
  2. impersonate a user widout access to the queue manager.
  3. check the sidebar.

Expected behavior

The user should see If jobs are running, but not if they failed.

Actual behavior

The user sees the text "failed", but can not take any actions.
This creates confusion.

Image

Craft CMS version

4.13.0

PHP version

8.2.23

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions