Closed Bug 1625793 Opened 6 years ago Closed 6 years ago

messages.query by folder shouldn't be allowed without accountsRead permission

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect
Not set
normal

Tracking

(thunderbird_esr68 fixed)

RESOLVED FIXED
Thunderbird 76.0
Tracking Status
thunderbird_esr68 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

The extension shouldn't be able to get a folder object to pass to messages.query without the permission anyway, but it still should be blocked.

Not in a rush to send this to 68, but it probably should go there.

Attachment #9137049 - Flags: review?(mkmelin+mozilla)
Attachment #9137049 - Flags: approval-comm-esr68?
Comment on attachment 9137049 [details] [diff] [review] 1625793-require-accountsread-1.diff Review of attachment 9137049 [details] [diff] [review]: ----------------------------------------------------------------- r=mkmelin
Attachment #9137049 - Flags: review?(mkmelin+mozilla) → review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f91579666b7a
Require accountsRead permission for functions involving folders. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 76.0
Comment on attachment 9137049 [details] [diff] [review] 1625793-require-accountsread-1.diff Approved for ESR
Attachment #9137049 - Flags: approval-comm-esr68? → approval-comm-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: