On May 2, 2012, at 8:34 AM, Jim Straus wrote:

> Lucas -
>  On Background Apps and just to be explicit.  If we assume that Background 
> apps always have a UI component that shows up in the home screen, then can we 
> state that when a background component needs a permission that hasn't been 
> granted that the UI component will be opened and the prompt occur there?  If 
> we allow Background only apps, I'm not sure where the permission prompt will 
> occur.
>  Actually, we may want to explicitly state that if an app that is not the 
> currently viewed app and needs permissions that it the app needing the 
> permission is made the currently viewed app.
> -Jim Straus

That's an interesting question.  Could another approach be that the app needs 
to have focus to obtain the permissions, and that permission is blocked until 
it becomes foreground?  I think a lot of the permissions really need apps to be 
focused before they can be granted anyway per our notification model.  Its a 
pretty complicated problem though, depending on if you think of these as apps, 
or as services. 
  Lucas.
_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security

Reply via email to