New extension API: getAllPermissions given the extension / app ID. |
|
Issue descriptionThis is a feature request from the Chrome Web Store team. We'd like to display extension permissions so that users are aware before attempt to install. To ensure we always display the correct human readable permissions, we must reply on the Chrome browser. Therefore we request an extension API for CWS (or public) to return a list of strings, each string is a line of permission description, ordered by the power of the permission. CWS can provide the extensions ID and the manifest as input. Optionally we will provide an hl field indicating the language used on the current website.
,
Aug 28
I would like to actually send only the permissions list. Manifest files could be really big and we try to reduce the network usage as much as possible.
,
Aug 28
The permissions for an extension aren't all contained within the "permissions" entry in the manifest, e.g. the content scripts entry. Theoretically, we could only send the entries that could generate permission warnings, but I'd be curious how much this actually saves us. What causes manifest files to be so large? Most of the larger entries, I thought, were actually permissions-related (e.g., specifying long lists of host permissions)?
,
Aug 29
Some special manifest may be very big, e.g. when the item type is SITELIST, or SHARED_MODULE. Also, we can't control how big a manifest file is. It's up to the developers.
,
Aug 29
Neither SITELIST or SHARED_MODULE content types are displayed in the CWS, so it seems like CWS could just not call management.getPermissionWarningsByManifest() for those types. What's the biggest manifest file size if we exclude SITELIST and SHARED_MODULE? |
|
►
Sign in to add a comment |
|
Comment 1 by rdevlin....@chromium.org
, Aug 27Components: Platform>Extensions Webstore
Labels: -Extensions -cws -crx OS-Chrome OS-Linux OS-Mac OS-Windows
Status: Assigned (was: Untriaged)