Re: [Simple] SIMPLE and OMA and 3Gpp and RCS and… (new subject)

Iñaki Baz Castillo <ibc@aliax.net> Fri, 02 November 2012 10:47 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: simple@ietfa.amsl.com
Delivered-To: simple@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F0F321F9936 for <simple@ietfa.amsl.com>; Fri, 2 Nov 2012 03:47:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.531
X-Spam-Level:
X-Spam-Status: No, score=-2.531 tagged_above=-999 required=5 tests=[AWL=-0.006, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yi6X-xq5eLgl for <simple@ietfa.amsl.com>; Fri, 2 Nov 2012 03:47:18 -0700 (PDT)
Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by ietfa.amsl.com (Postfix) with ESMTP id BDD5E21F9935 for <simple@ietf.org>; Fri, 2 Nov 2012 03:47:17 -0700 (PDT)
Received: by mail-la0-f44.google.com with SMTP id b11so2720613lam.31 for <simple@ietf.org>; Fri, 02 Nov 2012 03:47:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=+aYNUggoVuUJ8o28zo/0hgLDMccZiFFfA7L3vtuGEBA=; b=oO2g3aetYlXXX2fVq7SVIG+kbBoLoMi+GUpkwaNADE03oaFy9iyPAdL0B1BJaT9QWX fYsy0bFhnNckEUjWAPRrB2Em4+k69atEEaSmWcsE2o6suNU/ZKhVWdSrnuHEIMNWFa3z pMBHnl5irhESG2IE/eiKmRuSJkpb876TtpA2uXgyvKnewjIduT2wQg9YciKhlxN72VHg rB4+SWyntfsswNrzGkSPtpEndgFyq4B6YMGVbMNja21XuMWm0QCoujAuKpg/2JxxIxwR baWyr193e/hkHOTCUklPXS4cxggPUC1UJmT2PpXkroMsg0LkOddRBc4AlsGE4Jwbvtt7 tErw==
Received: by 10.112.25.42 with SMTP id z10mr572385lbf.103.1351853236257; Fri, 02 Nov 2012 03:47:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.114.2.71 with HTTP; Fri, 2 Nov 2012 03:46:56 -0700 (PDT)
In-Reply-To: <2C9DA935-CBBD-4DCF-A2A4-FF0139FB62B2@ag-projects.com>
References: <axjp925efdvel8fmpey6jc73.1351800528451@email.android.com> <E0C42E85-1C67-435E-BCB8-F8F980DD9FE4@edvina.net> <2C9DA935-CBBD-4DCF-A2A4-FF0139FB62B2@ag-projects.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Fri, 02 Nov 2012 11:46:56 +0100
Message-ID: <CALiegfmBNCTxcK0ZVdWXToDsYLWgtp9vyprt6Yj0_C=81yFWQQ@mail.gmail.com>
To: Saúl Ibarra Corretgé <saul@ag-projects.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnF21FTfA7RFXoSGBkJBRlZBwxTRlR2+2PAhG5CqQ8ku0dpyxIZDUNedhMz6GKULS1Q+XDD
Cc: Bernard Aboba <bernard_aboba@hotmail.com>, "DRAGE, Keith (Keith)" <keith.drage@alcatel-lucent.com>, "simple@ietf.org" <simple@ietf.org>
Subject: Re: [Simple] SIMPLE and OMA and 3Gpp and RCS and… (new subject)
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/simple>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Nov 2012 10:47:18 -0000

2012/11/2 Saúl Ibarra Corretgé <saul@ag-projects.com>:
> - Having a oma pres-rules document which just points to a resource-lists document means that we can no longer get the policy for a watcher by just looking at pre-rules. This makes me think that we need a single document to store a buddy-list, which also contains the  policy for each buddy.

SO what I say and repeat 1000 times: authorization MUST be an
*attribute* of each buddy. Period. Drop "users lists" named
"allowed-buddies" / "blocked-buddies", that's not the way to go.

buddylist:
--------------------
sip:alice@example.com {
  presence-subscribe-to: true,
  presence-allowed: true,
  presence-blocked: false
}

sip:bob@example.com {
  presence-subscribed-to: true,
  presence-allowed: true,
  presence-blocked: true
}
--------------------

And that's all. This is easy to render for the watcher and easy to
process for the server. Single "document" with buddies and their
attributes.

No need for "external references to other XCAP documents in any other
server in the world", no need for generating a coredump if the same
buddy is contained in "oma_my_buddies" list and "my_blocked_contacts"
list and "oma_PoC_contacts" list and "oma_featured_buddies" list.



--
Iñaki Baz Castillo
<ibc@aliax.net>