In the previous section, we saw Ticket management by the customer. The customer has control over their tickets alone and can't do anything with other customers' tickets. In the admin mode, we can have control over any tickets available in the application. In this section, we'll see Ticket management done by admin.
Admin Ticket management
Allowing a admin to view all tickets
As admin has full control to view all tickets in the application, we keep the view ticket method very simple in TicketServiceImpl class without any restrictions.