Skip to content

GLPI 11 regression: Ticket counter missing in asset tabs for users without READALL permission #26592

Backlog

Description

@D4rkT1m0

Code of Conduct

  • I agree to follow this project's Code of Conduct

Disable plugins

  • I reproduce the issue with all plugins disabled

Is there an existing issue for this?

  • I have searched the existing issues

Version

11.0.11

Bug description

Environment

Previous version: GLPI 10.0.26

Current version: GLPI 11.0.11

Standard technician profile without "See all tickets" permission

"Show counters" enabled

Actual behavior

When opening a computer record, technicians can see the tickets they are authorized to access in the Tickets tab, but the ticket counter is no longer displayed next to the tab name.

The counter is displayed correctly for Super-Admin users.

This behavior differs from GLPI 10.0.26.

Expected behavior

The Tickets tab should display the number of tickets the current user is authorized to view, without requiring the READALL permission.

Technical findings

In GLPI 11.0.11, CommonItilObject_Item::getTabNameForItem() requires CommonITILObject::READALL to execute countForItemAndLinked() for assets.

This prevents technicians with restricted ticket visibility from seeing the ticket counter.

Suggested improvement

Display a permission-filtered ticket count without granting access to unauthorized tickets.

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions