We assigned a task to an agent that's not a department member.
Ticket is from Department A, then assigned a task from the Department A's ticket to an agent from Department B. During the assignment, we select Department A then the agent. We don't want to set it as Department B as per the agent's department since we want the visibility of what's going on with the task.
The agent role's permission has been set with close permission enabled but the agent cannot close it unless we let the agent be part of the Department A members. We dont want that since we dont want to allow the agent from having the visibility of the Department A tickets.
So is it a bug? Since by default the agent should be able to close the task regardless the task's department. Correct?