Skip to content

List expected permissions in the manifest. #395

Closed
@PaulKinlan

Description

I was asked about permissions in the manifest today (see attached image). Chrome currently exposes the list of user accepted permissions in the URL infobar and in the (i) icon on mobile, this is so that users can revoke or change the permission that they have granted. If the user hasn't granted anything (maybe because they haven't yet been asked) the list is empty.

The request I received was to list permissions in the manifest and use that to enumerate a list in the browser chrome (in Chrome's case it might be to pre-populate this information menu so that it) to inform the user of what the site or app might ask for.

I might expect the permissions to be listed in the manifest as follows:

"permissions": [
  "notifications"
]

and take the same names as those used in the permissions API registry. Specifying them in the manifest would not "pre-grant" access to these API's as they would be indicators of what the app needs at run-time.

screen shot 2015-08-13 at 9 03 22 pm

cc @mounirlamouri @marcoscaceres

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions