Bug 94266 - API to notify changes in permission store tables
Summary: API to notify changes in permission store tables
Status: RESOLVED FIXED
Alias: None
Product: xdg-app
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Alexander Larsson
QA Contact: Alexander Larsson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-23 18:08 UTC by Zeeshan Ali
Modified: 2016-03-14 13:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Zeeshan Ali 2016-02-23 18:08:46 UTC
Currently org.freedesktop.XdgApp.PermissionStore doesn't provide any API to monitor changes in app permissions. This would be nice to have in general anyway but more specifically we'll need it in gnome-shell for gnome/geolocation table to be able to notify apps that they can now/no longer access location when user changes the permissions through conrol-center.
Comment 1 Zeeshan Ali 2016-03-04 16:34:42 UTC
Actually this is also very much needed by gnome-control-center (privacy panel) so that it always reflects the correct permissions for apps. Allan was surprised when he allowed gnome-clocks access to location but it didn't appear in the privacy panel until he restarted control-center.
Comment 2 Allan Day 2016-03-04 18:10:47 UTC
It would be great to have this fixed. All the panels in the GNOME control center show behaviour in real time, so it would be rather surprising and inconsistent if location services was different.
Comment 3 Alexander Larsson 2016-03-07 08:40:04 UTC
Yeah, that makes sense. I'll put it on the todo list for when i start looking at the sandboxing. I had hoped to already be working on this, but other things are getting in the way. But soon...
Comment 4 Alexander Larsson 2016-03-14 13:56:27 UTC
Just added this to master.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.