[Bug 27752] New: Deficiencies in Location setting API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 20 16:20:06 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27752

           Summary: Deficiencies in Location setting API
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-spec
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org
                CC: andrunko at gmail.com
            Blocks: 27669


This partially blocks Bug #27669.

* There's no way to tell whether locations can be set.
  For instance, on XMPP we set locations in PEP, so we need to
  do something sensible on Google Talk servers (which don't have
  PEP). Google Talk users can still retrieve PEP-based Location
  from non-Google contacts.

  Proposal A: boolean CanSetLocation property
  Proposal B: if LocationAccessControlTypes is the empty list,
      then that means you can't set location

* Clients can't tell when LocationAccessControl has changed.

  Proposal: LocationAccessControlChanged (u: Type, v: Detail)

* It's unspecified whether/when LocationAccessControlTypes can change.

  Proposal: before StatusChanged(CONNECTED, .) it's meaningless;
      after that it can never change. (But note that this would require
      Gabble to query whether we have a PEP server before going CONNECTED...)

* I'm not sure that having separate setters for the access control type
  and the location is the right model; since geolocation is such
  sensitive information, we should perhaps set the access control and
  the location at the same time?

  In particular, the first SetLocation on a Connection is specified to set the
  access control to an empty whitelist if possible (though I don't know whether
  Gabble actually does this); if you want anyone to actually see your location,
  you'll need to set an access control model.

  Proposal: SetLocationAndControl(a{sv}, u, v)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list