Bug 94266

Summary: API to notify changes in permission store tables
Product: xdg-app Reporter: Zeeshan Ali <zeenix>
Component: GeneralAssignee: Alexander Larsson <alexl>
Status: RESOLVED FIXED QA Contact: Alexander Larsson <alexl>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.