On Friday, September 5, 2014, Kostiainen, Anssi <anssi.kostiai...@intel.com> wrote:
> On 04 Sep 2014, at 23:18, Marcos Caceres <mar...@marcosc.com > <javascript:;>> wrote: > > > Absolutely, we should be addressing them at the API level. > > I guess you mean each API should address this in a way that fits the > design of the particular API the best? Correct. Sorry if I wasn't clear. > > And something like permissions.js could then be used to abstract away the > differences and provide an API similar to that proposed by Mounir? I would hope we wouldn't need that, but sure. It's a risk (reality?) that we end up with inconsistencies across APIs. > > > For instance, adding a way to determine if the permission has been > granted in Geo without actually needing to use the API. > > It seems as if Mounir’s proposal addresses exactly this requirement, but > not at the “[Geolocation] API level”. Which I'm personally not a huge fan of. > > Thanks, > > -Anssi