-
Notifications
You must be signed in to change notification settings - Fork 56
Aspects and integration with Permissions Policy #459
Description
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.