Public bug reported:
Bug #1303962 added apparmor mediation to media-hub that achieves the following
when an apps uses the 'audio' policy group:
* an app are allowed to play content from its install directory
* an app is able to play content from its local cache directory
* an app is able to play content from its local data directory
* an app is able to access the camera click
Trust store integration is not yet implemented and the media-hub has a
hardcoded exception in src/core/media/player_skeleton.cpp to allow the
music app to play files from ~/Music and ~/Videos.
AppStore apps:
1. should be able to access their own content (installed or local)
2. should not be able to access, play or otherwise enumerate other apps' media
(ie, app 'foo' should not be able to play the facebook app's sound file
3. AppStore apps should be able to enumerate the global music (~/Music) and
video (~/Video) library via the mediascanner helper with permission from the
user
4. AppStore apps should be able to play the global music (~/Music) and video
(~/Video) library via the media-hub with permission from the user
5. AppStore apps should be able to have access to media files with permission
from the user. This is already handled by the content-hub paradigm (though
someone would need to add a media content provider for the content-hub to have
this work)
'1' and '2' are implemented in the media-hub via bug #1303962
(mediascanner2 still needs apparmor integration). This bug is for '3'
and '4' and this can be done via the trust-store. To have the best user
experience and prevent multiple prompting, mediascanner and media-hub
should use the same trust store database. I'm not sure that
mediascanner2 offers a DBus API for enumerating global media files yet
or not (music-app seems to be accessing files in ~/.cache/media-art/ and
~/.cache/mediascanner directly).
** Affects: media-hub (Ubuntu)
Importance: Undecided
Status: New
** Affects: mediascanner2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: application-confinement
** Tags added: application-confinement
** Also affects: mediascanner2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1315381
Title:
please integrate mediascanner2 and media-hub with trust-store
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/1315381/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs