-
Notifications
You must be signed in to change notification settings - Fork 179
Description
The following algorithms have steps that are not possible to resolve:
- 9.5 Create a Permissions Policy for a navigable
- 9.6 Create a Permissions Policy for a navigable from response
These are two algorithms that specify how to create permissions policy. Permissions policy object's, are specified to have an associated node. But in these algorithms, we are not provided with one.
To make sense from a spec perspective I think these need to take an associated node argument. How should the policy object be created otherwise, what realm, etc?
The problem though, with this is creating and initializing a new document, has step 2 as its "create permissionsPolicy from ..." - at that point there is no associated node, because the document in that algorithm hasn't been created yet and isn't created until step 9.
This spec probably needs changing to keep it from being in direct contradiction with itself or add something like:
"When document has been created, associate permissionsPolicy's associated node with document", but that obviously would be changes to that spec, and not this one (I think, probably, this will require changes to both specs, as I don't see how one can sneak in a "associate node N with permissionsPolicy" otherwise).