Skip to content

Aspects and integration with Permissions Policy #459

@antosart

Description

@antosart

The Permissions specification allows powerful features to have aspects that further restrict or enlarge the allowed capability. However, policy-controlled features in Permissions Policy are simple string which are either allowed or not. So "aspects" are not controllable via Permissions Policy.

What is the guidance on defining new powerful features for which aspects would in principle make sense, but where it would also make sense to control those aspects via Permissions Policy?

One concrete existing example could be "midi", which specifies a "sysex" aspect. There is a corresponding "midi" policy-controlled feature, but in Permissions Policy there is no way of distinguishing between midi-with-sysex and midi-without-sysex.

One perhaps more realistic (future) example could come up with approximate geolocation: it would likely make sense to distinguish between the two variants (precise vs approximate geolocation) both in Permissions and in Permissions Policy, but that seems only doable via two distinguished policy-controlled features (e.g. geolocation-precise and geolocation-approximate).

Related to #410.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions