Online Accounts applications need a couple of more D-Bus interfaces

Bug #1245903 reported by Alberto Mardegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor-easyprof-ubuntu (Ubuntu)
Fix Released
Undecided
Jamie Strandboge

Bug Description

In order to get notified of account changes (such as an account being enabled), applications using online accounts need to be able to *receive* messages from the com.google.code.AccountsSSO.Accounts interface.
Also, to invoke the trusted helper and obtain access to a specific account, applications need to talk to the com.canonical.OnlineAccountsUi interface.

Summing up, here's what I've added to my click application profile, and verified that it works:

  dbus (receive, send)
       bus=session
       interface=com.canonical.OnlineAccountsUi,
  dbus (receive)
       bus=session
       interface=com.google.code.AccountsSSO.Accounts,

The above should be added to the "accounts" profile.

Changed in apparmor-easyprof-ubuntu (Ubuntu):
status: New → In Progress
assignee: nobody → Jamie Strandboge (jdstrand)
Revision history for this message
Alberto Mardegan (mardy) wrote :

Hi Jamie! Did you get started with this already? If not, do you mind changing the first interface to com.ubuntu.OnlineAccountsUi (s/canonical/ubuntu)?
Please let me know if we are still in time to make this change (on our part, this hasn't landed yet, so we are fine with changing the interface name).

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Yes, there is time. I have it queued up and adjusted it now.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

apparmor-easyprof-ubuntu touch image tests written and new upload passes all tests. Added a landing ask just now. Will upload when it is approved.

Changed in apparmor-easyprof-ubuntu (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor-easyprof-ubuntu - 1.0.43

---------------
apparmor-easyprof-ubuntu (1.0.43) trusty; urgency=low

  * ubuntu-* templates: explicitly disable access to /dev/input/* (with audit)
    to ensure they aren't ever accidentally enabled
  * accounts: add policy for account change notifications and invoking the
    trusted helper (LP: #1245903)
  * ubuntu-* templates: also allow rw access to
    /sys/devices/virtual/timed_output/vibrator/enable
 -- Jamie Strandboge <email address hidden> Thu, 21 Nov 2013 06:15:03 -0600

Changed in apparmor-easyprof-ubuntu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.