private boolean skipAuthorization(HiveMetaStoreAuthzInfo authzContext) {
    LOG.debug("==> HiveMetaStoreAuthorizer.skipAuthorization()");

    //If HMS does not check the event type, it will leave it as null. We don't try to authorize null pointer. 
    if(authzContext == null){
      return true;
    }
    boolean ret = false;
    UserGroupInformation ugi = null;
    try {
      ugi = getUGI();
      ret = isSuperUser(ugi.getShortUserName());
    } catch (IOException e) {
      LOG.warn("Not able to obtain UserGroupInformation", e);
    }

    LOG.debug("<== HiveMetaStoreAuthorizer.skipAuthorization(): " + ret);

    return ret;
  }
HiveMetaStoreAuthorizer :  Do authorization checks on MetaStore Events in MetaStorePreEventListener
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/HiveMetaStoreAuthorizer.java