I'll mention that if the the download manager triggered off the payload
for a member rule or added a member to a more generic rule, the profile
would not have to change. I don't know the download manager API, but
looking at an existing rule:
dbus (receive, send)
bus=session
path=/com/canonical/applications/download/@{APP_ID_DBUS}/**
interface=com.canonical.applications.Download
peer=(label=unconfined),
If you created a method in this path and under this interface, then it would
just work. Alternatively, consider this rule:
dbus (send)
bus=session
path=/
interface=com.canonical.applications.DownloadManager
member=getAllDownloads
peer=(label=unconfined),
If getAllDownloads() took an argument of some sort (ie, the message data
changes) then the policy also would not have to change.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1519378
Title:
Add access to download manager's new getUncollectedDownloads method in
the networking profile
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1519378/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs