Re: [b2g] Permissions App: Very, very early version

2014-08-01 Thread Frederik Braun
On 01.08.2014 11:02, Jan Jongboom wrote: > > Urm, isn't this what the Settings -> App Permissions panel is for? Kinda. But I want to provide control over the non-obvious permissions that we do not expose in the Settings (i.e. mobilenetwork, tcp-socket..).

Re: [b2g] Permissions App: Very, very early version

2014-08-01 Thread Jan Jongboom
On Thursday, July 31, 2014 5:42:43 PM UTC+2, Frederik Braun wrote: > Hi, > > > > I have finished my first prototype of the permission app: I want to > > allow people to shoot them in the foot and disable all kinds of > > permissions that we wouldn't include prompts for in the settings app. >

[b2g] Permissions App: Very, very early version

2014-07-31 Thread Frederik Braun
Hi, I have finished my first prototype of the permission app: I want to allow people to shoot them in the foot and disable all kinds of permissions that we wouldn't include prompts for in the settings app. (I get that. But I also like the feeling of control :-)) The icons are shabby, the UX is we

Re: [b2g] Permissions API always says "unknown"

2014-07-30 Thread Frederik Braun
There was a typo the devtools did not report. I wrote "app.manifestUrl" instead of "app.manifestURL". The snippet from MDN I started with had this typo, so I edited the article as well. On 30.07.2014 11:24, Frederik Braun wrote: > On 29.07.2014 19:42, Fabrice Desré wrote: >> Hi Frederick, >> >> Yo

Re: [b2g] Permissions API always says "unknown"

2014-07-30 Thread Frederik Braun
On 29.07.2014 19:42, Fabrice Desré wrote: > Hi Frederick, > > You are not using the access mode when calling permissions.get() and I > think you need to. Take a look at what the settings app is doing to get > the app's permissions. > > Fabrice I'm not sure what you mean by "access mode".

Re: [b2g] Permissions API always says "unknown"

2014-07-29 Thread Fabrice Desré
Hi Frederick, You are not using the access mode when calling permissions.get() and I think you need to. Take a look at what the settings app is doing to get the app's permissions. Fabrice On 07/29/2014 07:31 AM, Frederik Braun wrote: > Some additional notes: > Here's what I did, for othe

Re: [b2g] Permissions API always says "unknown"

2014-07-29 Thread Frederik Braun
Some additional notes: Here's what I did, for others to reproduce always getting an "unknown": https://github.com/mozfreddyb/permissions-app/blob/master/js/app.js#L26 I *do* get a proper return value (e.g. "allow) when I execute the code from the debugger (app-manager). On 29.07.2014 13:05, Fre

[b2g] Permissions API always says "unknown"

2014-07-29 Thread Frederik Braun
Hi, I am sketching a permissions control app. The app is meant for privacy nuts like myself, who are willing to shoot their foot knowing that disabling certain permissions might cause some apps not to work :) Thus, the app will list all permissions. Even the ones we consider not to be very useful

[b2g] Permissions setting doesn't alway take into effect immediately

2013-10-07 Thread Martijn
Hi, I was working on https://bugzilla.mozilla.org/show_bug.cgi?id=913706 , this is a bug about fixing mochitests for b2g, and I noticed there that after changing permissions, I needed to reload an iframe, otherwise I would get test failures. Why is that necessary? I noticed that more often, where

Re: [b2g] Permissions

2012-10-04 Thread Jonas Sicking
On Thu, Oct 4, 2012 at 1:46 PM, ptheriault wrote: > > On Oct 5, 2012, at 5:01 AM, Jonas Sicking wrote: > >> On Thu, Oct 4, 2012 at 5:25 AM, ptheriault wrote: >>> Getting there - the yellow highlighted cells are the ones that I am still >>> unsure about. (API authors - again, please raise any con

Re: [b2g] Permissions

2012-10-04 Thread ptheriault
I have merged all the changes back into the original URL, since this is referenced in quite a few places in the wiki and code. Permission Matrix 1.0 (basecamp) https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdENVekxYRjBTX0dCXzItMnRyUU1RQ0E#gid=0 An archive copy of the Matrix 0.2 https:/

Re: [b2g] Permissions

2012-10-04 Thread ptheriault
On Oct 5, 2012, at 5:01 AM, Jonas Sicking wrote: > On Thu, Oct 4, 2012 at 5:25 AM, ptheriault wrote: >> Getting there - the yellow highlighted cells are the ones that I am still >> unsure about. (API authors - again, please raise any concerns or comments ) >> >> https://docs.google.com/spreads

Re: [b2g] Permissions

2012-10-04 Thread Jonas Sicking
On Thu, Oct 4, 2012 at 5:25 AM, ptheriault wrote: > Getting there - the yellow highlighted cells are the ones that I am still > unsure about. (API authors - again, please raise any concerns or comments ) > > https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdHNlbDBDUGMzUzJSdFYyNEZjcngtUWc#

Re: [b2g] Permissions

2012-10-04 Thread ptheriault
Getting there - the yellow highlighted cells are the ones that I am still unsure about. (API authors - again, please raise any concerns or comments ) https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdHNlbDBDUGMzUzJSdFYyNEZjcngtUWc#gid=0 -Paul On Oct 4, 2012, at 8:59 AM, ptheriault wrote

Re: [b2g] Permissions

2012-10-03 Thread ptheriault
There have been some updates (thanks!) but a lot are outstanding. I'm chasing people at the moment and I'll send an update shortly. On Oct 3, 2012, at 11:04 PM, Eric Shepherd wrote: > Have folks gone over this document and updated it, other than Paul? I plan to > tackle putting this material o

Re: [b2g] Permissions

2012-10-03 Thread Eric Shepherd
Have folks gone over this document and updated it, other than Paul? I plan to tackle putting this material on MDN today or tomorrow. Eric Shepherd Developer Documentation Lead Mozilla http://www.bitstampede.com/ ___ dev-b2g mailing list dev-b2g@lists.mo

Re: [b2g] Permissions

2012-09-24 Thread ptheriault
Eric, I had a first stab, but I will need help from API authors. https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdHNlbDBDUGMzUzJSdFYyNEZjcngtUWc This is aiming to be an exhaustive list of permissions for basecamp, and has all of the mappings to what the default value for the permission

[b2g] Permissions

2012-09-20 Thread Eric Shepherd
I'm looking at the document here: https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdENVekxYRjBTX0dCXzItMnRyUU1RQ0E#gid=0 Which covers the permissions available by application type. Is that current and accurate? I'm working on security documentation for Firefox OS, and would like to be