restrict actions in TicketController based on permissions and hide links