make pkcs11 an optional permission
Categories
(WebExtensions :: General, enhancement, P1)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Assignee | ||
Comment 1•5 years ago
|
||
bug 1404632: There is no management at the extension api level that would undo what this api does
Given that, we'll just make the permission optional and that bug can deal with improvements.
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
I'm trying to understand what this code change would mean for me as a developer of an extension that uses the browser.pkcs11 API. I'm guessing that this is meant to just drop the permission, except that that would break current add-ons, so we make it optional instead.
Is my intuition correct? If not, can someone please point me to the FM to R that would explain what an "optional permission" is?
Thanks,
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
explain what an "optional permission" is
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Wouter Verhelst :wouter from comment #3)
I'm trying to understand what this code change would mean for me as a developer of an extension that uses the browser.pkcs11 API. I'm guessing that this is meant to just drop the permission, except that that would break current add-ons, so we make it optional instead.
Is my intuition correct? If not, can someone please point me to the FM to R that would explain what an "optional permission" is?
Thanks,
If you have an addon, and you want to add a new permission when you update the addon, placing it in "permissions" requires a user to accept the new permission prior to the update happening. For some permissions, a user may not understand why they need to grant the new permission. Using an optional permission allows the addon to fully upgrade, then message properly to the user why a new permission is being requested.
In the future the user will also be able to revoke those permissions. So an addon will still want to use "permissions" in the manifest for required functionality.
All permissions are being updated to supporting optional permissions.
Comment 8•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
The following changes have been made:
- note added to release notes
- compatibility data updated, see PR6112
- notes added to the Extension Workshop article on requesting permissions, see PR636
Please let me know if you think further changes are needed.
Updated•5 years ago
|
Description
•