Restrict action in TicketsController based on permissions and hide links