summaryrefslogtreecommitdiff
path: root/dev/data/manifest-variants.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-08 17:52:41 -0500
committerGitHub <noreply@github.com>2021-02-08 17:52:41 -0500
commit849e4fabe1dffc2851fcb338dae8400d6c8e46ca (patch)
treee49dbd86ec20a2a11fc8938b8f6a4e1a9c57501e /dev/data/manifest-variants.json
parent008809e0e73665249b7b3dd7c14a1761aa06bd39 (diff)
Native messaging optional permission (#1348)
* Refactor PermissionsToggleController to not require a setting * Update nativeMessaging to be optional on Chrome * Update parsing.enableMecabParser setting to request permissions * Update permissions page to use PermissionsToggleController * Update permissions documentation * Disable toggle for permissions which are not optional
Diffstat (limited to 'dev/data/manifest-variants.json')
-rw-r--r--dev/data/manifest-variants.json14
1 files changed, 12 insertions, 2 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 43ea50c0..d221d994 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -79,12 +79,12 @@
"storage",
"clipboardWrite",
"unlimitedStorage",
- "nativeMessaging",
"webRequest",
"webRequestBlocking"
],
"optional_permissions": [
- "clipboardRead"
+ "clipboardRead",
+ "nativeMessaging"
],
"commands": {
"toggleTextScanning": {
@@ -204,6 +204,16 @@
"strict_min_version": "57.0"
}
}
+ },
+ {
+ "action": "remove",
+ "path": ["optional_permissions"],
+ "item": "nativeMessaging"
+ },
+ {
+ "action": "add",
+ "path": ["permissions"],
+ "items": ["nativeMessaging"]
}
],
"excludeFiles": [