All events and functions of the compose API, which give access to message content or allow to alter the message, should require the compose permission
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr78 wontfix, thunderbird91 fixed)
People
(Reporter: john, Assigned: john)
Details
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
The following functions/events can be used without any permission:
- onAttachmentAdded
- listAttachments
- addAttachment
- updateAttachment
- removeAttachment
They should require the compose permission, like get/setComposeDetails.
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c5af306d06f4
Require compose permission for all events/function, which access or alter the message content. r=mkmelin.
Comment 3•4 years ago
|
||
A different error message is used depending on the channel: https://hg.mozilla.org/mozilla-central/rev/03939cd2d0ab#l5.1
| Assignee | ||
Comment 5•4 years ago
|
||
Comment on attachment 9230881 [details]
Bug 1719908 follow-up - Fix error message check for beta. r=john.bieling
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Some tests fail.
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
None.
Comment 6•4 years ago
|
||
Comment on attachment 9230881 [details]
Bug 1719908 follow-up - Fix error message check for beta. r=john.bieling
[Triage Comment]
Approved for beta
Comment 7•4 years ago
|
||
| bugherder uplift | ||
Thunderbird 91.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/7361832250b9
Description
•