Skip to content

Bugs/lacking clarity in 9.5, 9.6: Algorithm lacking realms #562

@theIDinside

Description

@theIDinside

The following algorithms have steps that are not possible to resolve:

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).

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