Bug 73323 - Add Agent API to allow desktop to refuse access
Summary: Add Agent API to allow desktop to refuse access
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-06 14:53 UTC by Bastien Nocera
Modified: 2014-01-06 15:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bastien Nocera 2014-01-06 14:53:22 UTC
The agent would be implemented in very much the same way as agents in BlueZ or PolicyKit:
- Desktop shell (or other implementation) offers a specific D-Bus service on the system bus
- Agent calls out to system-wide daemon (Geoclue) to register this agent
- Geoclue calls out to the agent to request authorisation

This way, the agent can store authorisation for the various applications on a per-user basis ("allow gnome-settings-daemon", "disallow twitter", etc.).

See the docs in Bluez for the passkey agent:
http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/agent-api.txt

See also https://bugzilla.gnome.org/show_bug.cgi?id=721433
Comment 1 Zeeshan Ali 2014-01-06 15:10:03 UTC
The geoclue side is already in place for this and we even have a demo agent but since agent is not yet implemented by anyone, you need to explicitly tell geoclue to require agent auth currently through a configure flag.

You asked for link to docs. I'll upload new docs once I roll out a release.


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.