Re: Proposal for a Permissions API

On 04 Sep 2014, at 23:18, Marcos Caceres <marcos@marcosc.com> 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?

And something like permissions.js could then be used to abstract away the differences and provide an API similar to that proposed by Mounir?

> 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”.

Thanks,

-Anssi

Received on Friday, 5 September 2014 10:47:16 UTC