presto-spi/src/main/java/io/prestosql/spi/connector/classloader/ClassLoaderSafeConnectorAccessControl.java/ClassLoaderSafeConnectorAccessControl/checkCanGrantRoles
class ClassLoaderSafeConnectorAccessControl:    @Override
    public void checkCanGrantRoles(ConnectorSecurityContext context, Set<String> roles, Set<PrestoPrincipal> grantees, boolean withAdminOption, Optional<PrestoPrincipal> grantor, String catalogName)
    {
        try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(classLoader)) {
            delegate.checkCanGrantRoles(context, roles, grantees, withAdminOption, grantor, catalogName);
        }
    }