Consider the following scenario:
Departments X and Y
Agent Z is member of only department X but gets a link to a closed ticket in department Y, when clicking on the link it opens the ticket with all replies and information present! Seems to be a bug. Tested on version v1.10.6. Haven't updated yet but it isn't on the fixlist of v1.10.7.