presto-main/src/main/java/io/prestosql/security/AccessControlManager.java/AccessControlManager/checkCanDropView
class AccessControlManager:    @Override
    public void checkCanDropView(SecurityContext context, QualifiedObjectName viewName)
    {
        requireNonNull(context, "context is null");
        requireNonNull(viewName, "viewName is null");

        authenticationCheck(() -> checkCanAccessCatalog(context.getIdentity(), viewName.getCatalogName()));

        authorizationCheck(() -> systemAccessControl.get().checkCanDropView(context.toSystemSecurityContext(), viewName.asCatalogSchemaTableName()));

        CatalogAccessControlEntry entry = getConnectorAccessControl(context.getTransactionId(), viewName.getCatalogName());
        if (entry != null) {
            authorizationCheck(() -> entry.getAccessControl().checkCanDropView(entry.toConnectorSecurityContext(context), viewName.asSchemaTableName()));
        }
    }