@Put
 @Path("/reports/{errorEntry.id}/priority")
 @LoggedIn
 public void errorEntrySetPriority(ErrorEntry errorEntry, String priority) {
   if (loggedUser.getUser().getRole().getCanSetErrorReportPriority()) {
     errorEntryLogic.setPriority(errorEntry, Enum.valueOf(Priority.class, priority));
     result.include("gaEventPriorityChanged", true);
     result.redirectTo(ErrorReportController.class).details(errorEntry);
   } else {
     LOG.info("Invalid user tried to set priority: " + loggedUser.getUser());
   }
 }