Re: Permissions UI & Necessary API

On 04/25/2014 06:58 PM, Doug Reeder wrote:
> 
> On Apr 25, 2014, at 10:48 AM, Kostiainen, Anssi wrote:
> 
>> 1) Allow the developer to associate a custom text string with the permission request.
>>
>> I observe some web-based platforms [1] already provide a similar mechanism, however, I’m not sure if e.g. Firefox OS uses the information in the context of use as recommended (or just for upfront grants)?
> 
> Firefox OS requires an explanation string in the app manifest, for example:
> 	"permissions": {
> 		"geolocation": {
> 			"description": "Needed for geotagging (where you wrote a memo)"
> 		}
> 
> IIRC, this is supposed to be displayed to the user during the install process.  It is never displayed while an app is running.

No, we never prompt users to grant permissions at install time on
Firefox OS. We only prompt at runtime for privacy related ones that
users can understand: geolocation, sdcard access, contacts for instance.

We currently don't use the explanation string anywhere - one place we
could is in the settings panel that let the user revoke or grant
permissions for an app after installation.

	Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation

Received on Saturday, 26 April 2014 17:33:20 UTC