Closed Bug 1826747 Opened 2 years ago Closed 2 months ago

Create a per-"addon gated site permission" mapping table for 3rd party install and post install prompt localized string ids

Categories

(Toolkit :: Add-ons Manager, task, P3)

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: rpl, Assigned: gstoll)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

The SitePermission addon type has been going through a few rewording of the "3rd party install" and "post install" doorhanger to make it more clear to users what are they getting prompted for and what are the risks of accepting the "addon gated" SitePermissions install triggered from a website that the user is visiting.

At the moment midi and midi-sysex are the only two gated permissions supported, and so the localized string ids are currently hardcoded, but we would like to create an explicit per-"addon gated site permission" mapping table.

The new mapping table could be exported from the existing siteperms-addon-utils.sys.mjs ES module, which is also the ES module exporting other helpers related to the SitePermission addon type (e.g. in addition to the existing helpers function isGatedPermissionType or isPrincipalInSitePermissionsBlocklist we may introduce new ones like export function getInstallPromptStringIds(type) { ... } and export function getPermissionsPromptStringIds(type) { ... } to retrieve the string ids associated to a given sitepermission type string).

Whiteboard: [addons-jira]
Severity: -- → N/A
Priority: -- → P3
Blocks: webserial
Assignee: nobody → gstoll
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: