[webapp-container] Webapps should be able to disable the location permission dialog

Bug #1340822 reported by Ted Gould
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app
Fix Released
Undecided
Olivier Tilloy

Bug Description

When a webapp has the location permission from AppArmor it should be able to disable the browser showing a dialog to allow getting permission to use the location. The prompt that comes from the location service via trust-store should suffice for this case where the web page is entirely contained within a single AppID (which is what trust-store uses to track permissions).

Revision history for this message
Olivier Tilloy (osomon) wrote :

Do we have the prompt from the trust store already? If/when so, I suppose it’s just a matter of removing the custom prompt in the browser altogether, and always allowing the geolocation request to go through, as apparmor will handle permissions accordingly.

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 1340822] Re: [webapp-container] Webapps should be able to disable the location permission dialog

On Mon, 2014-07-14 at 05:54 +0000, Olivier Tilloy wrote:

> Do we have the prompt from the trust store already? If/when so, I
> suppose it’s just a matter of removing the custom prompt in the browser
> altogether, and always allowing the geolocation request to go through,
> as apparmor will handle permissions accordingly.

AFAIK it's not there yet, but yes, I think for the webapp case it's
better to use the system prompt (whether it exists or not) to be more
like a standard app.

Revision history for this message
Olivier Tilloy (osomon) wrote :

As of revision 672 of lp:webbrowser-app, webapps will now delegate geolocation permission requests to the trust store.

Changed in webbrowser-app:
status: New → Fix Released
assignee: nobody → Olivier Tilloy (osomon)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.