Skip to content

Proposal: Add management.readOnly permission for read-only access to management API #917

@oliverdunk

Description

@oliverdunk

Some extensions benefit from knowing if specific other extensions are installed, without needing full access to the management API. For example, a content filtering extension may wish to know if another content filtering extension is installed, as having two can cause conflicts which are hard to troubleshoot.

To accommodate this use case, we can add a management.readOnly permission. This would grant access to the get(), getAll() and getPermissionWarningsByManifest() APIs. It would not grant access to other APIs.

The <api_name>.readOnly pattern is something we can consider a design pattern to add to more APIs in the future.

This was discussed previously during TPAC 2025.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions