[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-31 Thread Launchpad Bug Tracker
This bug was fixed in the package accountsservice - 0.6.37-1ubuntu7 --- accountsservice (0.6.37-1ubuntu7) utopic; urgency=medium * debian/patches/0022-fix-desktop-centric-polkit-policy.patch: - Change the polkit policy so accountsservice allows use of the DBus API by admin

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-30 Thread Martin Pitt
LGTM, thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1349813 Title: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone To manage notificati

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-30 Thread Dimitri John Ledkov
Pitti, looks like upstream has relaxed policy a bit in the current trunk. Would you review this proposed backport? Regards, Dimitri. ** Changed in: accountsservice (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubunt

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-30 Thread Omer Akram
** Changed in: accountsservice (Ubuntu) Assignee: Omer Akram (om26er) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1349813 Title: [org.freedesktop.Accounts.Error.PermissionDeni

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-30 Thread Omer Akram
Backported a fix from upstream which allows us to write to accountsservice over ssh. previously it was desktop-centric. ** Also affects: accountsservice (Ubuntu) Importance: Undecided Status: New ** Changed in: accountsservice (Ubuntu) Assignee: (unassigned) => Omer Akram (om26er)

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-29 Thread Martin Pitt
By the way, this is not a bug, but an intended security policy. ** Changed in: ubuntu-system-settings (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1349813 Ti

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-29 Thread Martin Pitt
Supposedly this needs the "org.freedesktop.accounts.change-own-user- data" privilege from /usr/share/polkit-1/actions/org.freedesktop.accounts.policy . The problem with calling this in phablet-shell is that this isn't a local active session: phablet@ubuntu-phablet:~$ pkcheck --action-id org.freed

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-29 Thread Omer Akram
As discussed over IRC it works fine if ran from phone's terminal. Since these tests need to run over adb we need to find a way around that, do you have any clues on how I might be able to work/hack around that ? Even some hints will be welcome. -- You received this bug notification because you a

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

2014-07-29 Thread Omer Akram
Also attached accounts_service_issue.py as a test case to reproduce the issue on the phone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1349813 Title: [org.freedesktop.Accounts.Error.PermissionDe