Skip to content

Missing permission declarativeNetRequest / declarativeNetRequestWithHostAccess in the "Requesting the right permissions" article #2031

Closed
@Juraj-Masiar

Description

@Juraj-Masiar

The permissions declarativeNetRequest / declarativeNetRequestWithHostAccess are both missing in the page:
https://extensionworkshop.com/documentation/develop/request-the-right-permissions/#Advised_permissions

See also:
https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest

"declarativeNetRequest"
Triggers a permission warning at install time but provides implicit access to allow, allowAllRequests and block rules. Use this when possible to avoid needing to request full access to hosts.
"declarativeNetRequestWithHostAccess"
A permission warning is not shown at install time, but you must request host permissions before you can perform any action on a host. This is appropriate when you want to use declarative net request rules in an extension which already has host permissions without generating additional warnings.

So one should go into Advised list, the other one in the not alerted list.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions