Open BuilderNSV opened 2 months ago
@BuilderNSV Thank you for reporting. I could reproduce it with Znuny 7.0.17 for the AgentTicketZoom and AgentTicketStatusView in the Medium mode. Just the Preview mode had not (working) link for the customer information center.
Environment
Expected behavior
Agent on AgentTicketZoom screen in TicketInformation block from the right should see link to edit customer company only if approriate permissions have been given
Actual behavior
Link to edit customer company is rendered allways and agent have got error about insufficient rights when click on it.
How to reproduce
Steps to reproduce the behavior:
Additional information
The same information about company is rendered correctly on AgentTicketStatusView screen in Medium and Preview modes - link is displayed only if agent has apporpriate permissions. On these screens required permissions are checked and tempate has 2 blocks:
my $CustomerIDBlock = $Access ? 'CustomerIDRW' : 'CustomerIDRO';