Public bug reported:

Right now, qtdeclarative5-qtlocation-plugin connects to the system bus
instead of the trust-store on the session bus. This is entirely
understandable, since the trust store is not implemented yet. :)

In order to provide contextual runtime prompting and per app access to
the location service such that the user is aware that an app is using
the location API, a trust-store will be implemented that the location
service will integrate with and then the qtdeclarative5-qtlocation-
plugin should connect on the session bus rather than the system bus.

Right now to bug #1223211, I am updating the location policy group to have (but 
this will need to be fixed):
# Description: Can access Location
# Usage: common
# session bus gives access to via the trust-store
dbus (receive, send)
     bus=session
     path="/com/ubuntu/location/Service"
     interface="com.ubuntu.location.Service"
     peer=(name="com.ubuntu.location.Service"),
dbus (receive, send)
     bus=session
     interface="com.ubuntu.location.Service.Session",

# FIXME: remove when trust-store is available since this would circumvent the
#              trust-store
dbus (send)
     bus=system
     path=/org/freedesktop/DBus
     interface=org.freedesktop.DBus
     member=Hello
     peer=(name=org.freedesktop.DBus),
dbus (receive, send)
     bus=system
     path="/com/ubuntu/location/Service"
     interface="com.ubuntu.location.Service"
     peer=(name="com.ubuntu.location.Service"),
dbus (receive, send)
     bus=system
     interface="com.ubuntu.location.Service.Session",

** Affects: apparmor-easyprof-ubuntu (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: location-service (Ubuntu)
     Importance: High
     Assignee: Thomas Voß (thomas-voss)
         Status: In Progress

** Affects: qtlocation-opensource-src (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: apparmor-easyprof-ubuntu (Ubuntu Saucy)
     Importance: High
         Status: Triaged

** Affects: location-service (Ubuntu Saucy)
     Importance: High
     Assignee: Thomas Voß (thomas-voss)
         Status: In Progress

** Affects: qtlocation-opensource-src (Ubuntu Saucy)
     Importance: High
         Status: Confirmed


** Tags: application-confinement

** Also affects: apparmor-easyprof-ubuntu (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: location-service (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: qtlocation-opensource-src (Ubuntu Saucy)
   Importance: Undecided
       Status: New

** Also affects: location-service (Ubuntu Saucy)
   Importance: Undecided
       Status: New

** Also affects: apparmor-easyprof-ubuntu (Ubuntu Saucy)
   Importance: Undecided
       Status: New

** Tags added: application-confinement

** Description changed:

  Right now, qtdeclarative5-qtlocation-plugin connects to the system bus
  instead of the trust-store on the session bus. This is entirely
  understandable, since the trust store is not implemented yet. :)
  
  In order to provide contextual runtime prompting and per app access to
  the location service such that the user is aware that an app is using
  the location API, a trust-store will be implemented that the location
  service will integrate with and then the qtdeclarative5-qtlocation-
  plugin should connect on the session bus rather than the system bus.
  
- Right now so that people are not blocked, I am updating the location policy 
group to have:
+ Right now to bug #1223211, I am updating the location policy group to have 
(but this will need to be fixed):
  # Description: Can access Location
  # Usage: common
  # session bus gives access to via the trust-store
  dbus (receive, send)
-      bus=session
-      path="/com/ubuntu/location/Service"
-      interface="com.ubuntu.location.Service"
-      peer=(name="com.ubuntu.location.Service"),
+      bus=session
+      path="/com/ubuntu/location/Service"
+      interface="com.ubuntu.location.Service"
+      peer=(name="com.ubuntu.location.Service"),
  dbus (receive, send)
-      bus=session
-      interface="com.ubuntu.location.Service.Session",
+      bus=session
+      interface="com.ubuntu.location.Service.Session",
  
  # FIXME: remove when trust-store is available since this would circumvent the
  #              trust-store
  dbus (send)
-      bus=system
-      path=/org/freedesktop/DBus
-      interface=org.freedesktop.DBus
-      member=Hello
-      peer=(name=org.freedesktop.DBus),
+      bus=system
+      path=/org/freedesktop/DBus
+      interface=org.freedesktop.DBus
+      member=Hello
+      peer=(name=org.freedesktop.DBus),
  dbus (receive, send)
-      bus=system
-      path="/com/ubuntu/location/Service"
-      interface="com.ubuntu.location.Service"
-      peer=(name="com.ubuntu.location.Service"),
+      bus=system
+      path="/com/ubuntu/location/Service"
+      interface="com.ubuntu.location.Service"
+      peer=(name="com.ubuntu.location.Service"),
  dbus (receive, send)
-      bus=system
-      interface="com.ubuntu.location.Service.Session",
- 
- 
- This unblocks bug #1223211 for app developers.
+      bus=system
+      interface="com.ubuntu.location.Service.Session",

** Changed in: apparmor-easyprof-ubuntu (Ubuntu Saucy)
       Status: New => Triaged

** Changed in: apparmor-easyprof-ubuntu (Ubuntu Saucy)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1223371

Title:
  qtdeclarative5-qtlocation-plugin does not use trust-store on session
  bus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1223371/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to