Code of Conduct
Disable plugins
Is there an existing issue for this?
Version
11.0.7
Bug description
Users are able to link tickets together, but they cannot unlink them unless the "Delete" permission is granted on Tickets.
The problem is that granting the "Delete" permission also allows users to permanently delete tickets, which is a much broader permission than simply removing a relationship between tickets.
Expected behavior
A user with access to both tickets and permission to update tickets should be able to remove the relationship between linked tickets without requiring the "Delete" permission.
Current behavior
When the "Delete" permission is removed from the profile:
The "Unlink" action disappears from linked tickets.
Users can no longer remove ticket relationships.
When the "Delete" permission is granted:
The "Unlink" action becomes available.
Users are also able to delete tickets.
Relevant log output
Page URL
No response
Steps To reproduce
- Create two tickets.
- Link the tickets together.
- Use a profile with Read and Update permissions on tickets.
- Remove the Delete permission from the profile.
- Open one of the linked tickets.
- Observe that the Unlink action is not available.
- Grant the Delete permission.
- Observe that the Unlink action becomes available.
Your GLPI setup information
No response
Anything else?

Code of Conduct
Disable plugins
Is there an existing issue for this?
Version
11.0.7
Bug description
Users are able to link tickets together, but they cannot unlink them unless the "Delete" permission is granted on Tickets.
The problem is that granting the "Delete" permission also allows users to permanently delete tickets, which is a much broader permission than simply removing a relationship between tickets.
Expected behavior
A user with access to both tickets and permission to update tickets should be able to remove the relationship between linked tickets without requiring the "Delete" permission.
Current behavior
When the "Delete" permission is removed from the profile:
The "Unlink" action disappears from linked tickets.
Users can no longer remove ticket relationships.
When the "Delete" permission is granted:
The "Unlink" action becomes available.
Users are also able to delete tickets.
Relevant log output
Page URL
No response
Steps To reproduce
Your GLPI setup information
No response
Anything else?