code: public boolean hasDelfoiAccess(User user, DelfoiActionName actionName) {
      if (isSuperUser(user)) {
        return true;
      }
      
      DelfoiAction action = delfoiActionDAO.findByActionName(actionName.toString());
      if (action == null) {
        logger.info(String.format("ActionUtils.hasDelfoiAccess - undefined action: '%s'", actionName));
        return false;
      }
      
      UserRole userRole = getDelfoiRole(user);
      return hasDelfoiAccess(action, userRole);
    }
docs: Returns whether user has required delfoi action access
  
  @param user user
  @param actionName action
  @return whether user role required action access