Re: [w3c/permissions] PermissionDescriptor equality is not defined (Issue #396)

Right, I think I had structural equality in mind when I wrote things like "with the same descriptor and settings," but that wasn't clear from the wording.

The only implication of "stronger than" is the requirement on permission states that's included in its definition. I should probably have used it in the "[permission state](https://www.w3.org/TR/permissions/#dfn-permission-state)" definition, along the lines of «If there was a previous invocation of this algorithm for the same |feature| that returned "granted", and the previous invocation's descriptor was [=stronger than=] this invocation's, return "granted"», and the converse for "denied". With the new permission store model, I think it might fit better in https://www.w3.org/TR/permissions/#requesting-more-permission, where you'd look for stronger and weaker descriptors before asking the user to express permission.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/396#issuecomment-1331478412

You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/issues/396/1331478412@github.com>

Received on Wednesday, 30 November 2022 00:07:45 UTC