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.
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.
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.
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...
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.