do_delete (NMExportedConnection *exported, GError **error)
{
	NMAGConfConnectionPrivate *priv = NMA_GCONF_CONNECTION_GET_PRIVATE (exported);
	gboolean success;
	DBusGMethodInvocation *context;

	context = g_object_get_data (G_OBJECT (exported), NM_EXPORTED_CONNECTION_DBUS_METHOD_INVOCATION);

	/* Restrict Delete to execution by the current user and root for DBus invocation */
	if (context && !is_user_request_authorized (context, error)) {
		nm_warning ("%s.%d - Connection delete permission denied: (%d) %s",
		            __FILE__, __LINE__, (*error)->code, (*error)->message);
		return FALSE;
	}

	success = gconf_client_recursive_unset (priv->client, priv->dir, 0, error);
	gconf_client_suggest_sync (priv->client, NULL);
	return success;
}
do_delete (NMExportedConnection *exported, GError **error)
{
	NMAGConfConnectionPrivate *priv = NMA_GCONF_CONNECTION_GET_PRIVATE (exported);
	gboolean success;
	DBusGMethodInvocation *context;

	context = g_object_get_data (G_OBJECT (exported), NM_EXPORTED_CONNECTION_DBUS_METHOD_INVOCATION);

	 
	if (context && !is_user_request_authorized (context, error)) {
		nm_warning ("%s.%d - Connection delete permission denied: (%d) %s",
		            __FILE__, __LINE__, (*error)->code, (*error)->message);
		return FALSE;
	}

	success = gconf_client_recursive_unset (priv->client, priv->dir, 0, error);
	gconf_client_suggest_sync (priv->client, NULL);
	return success;
}