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

        authenticationCheck(() -> checkCanAccessCatalog(context.getIdentity(), catalogName));

        authorizationCheck(() -> systemAccessControl.get().checkCanShowSchemas(context.toSystemSecurityContext(), catalogName));

        CatalogAccessControlEntry entry = getConnectorAccessControl(context.getTransactionId(), catalogName);
        if (entry != null) {
            authorizationCheck(() -> entry.getAccessControl().checkCanShowSchemas(entry.toConnectorSecurityContext(context)));
        }
    }