Skip to content

Commit

Permalink
Actually do something for revocation
Browse files Browse the repository at this point in the history
  • Loading branch information
johannhof committed Nov 29, 2022
1 parent 8fbadba commit 1dfe4fd
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -859,18 +859,21 @@ <h3 id="reacting-to-revocation">
</h3>
<p>
When the user agent learns that the user no longer intends to grant permission to use a
<a>feature</a>, <dfn>react to the user revoking permission</dfn> by running these steps:
feature described by the {{PermissionDescriptor}} |descriptor| in the context
described by the [=permission key=] |key|, <dfn>react to the user revoking permission</dfn>
by running these steps:
</p>
<ol class="algorithm">
<li>
<a>Queue a global task</a> on the [=user interaction task source=] to run that
feature's [=powerful feature/permission revocation algorithm=].
</li>
<li>
Let |key| be the result of [=powerful feature/permission key generation algorithm|generating a permission key=] with the Realm's [=Realm/settings object=].
</li>
<li>
TODO: How do I get the feature descriptor to remove the feature here?
<a>Queue a global task</a> on the [=user interaction task source=] to:.
<ol>
<li>
Run |descriptor|'s {{PermissionDescriptor/name}}'s [=powerful feature/permission revocation algorithm=].
</li>
<li>
[=Remove a permission store entry=] with |descriptor| and |key|.
</li>
</ol>
</li>
</ol>
</section>
Expand Down

0 comments on commit 1dfe4fd

Please sign in to comment.