You could create a user to test. Create a Role with basic ticket permissoins:
And then create the Agent and tick Limit ticket access to ONLY assigned tickets:
I think that would probably prevent them from viewing tickets not assigned to them but it might not (sorry, can't test right at the moment)