Skip to content

Commit

Permalink
Add concept of Default Permission State
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Feb 4, 2022
1 parent 01ae676 commit b06b25f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ <h3>
implicit signals.
</p>
</aside>
<p>
Every permission has a <dfn data-for="permission">default state</dfn> (usually
[=permission/prompt=]), which is the [=permission/state=] that the permission is in when
the user has not yet given [=express permission=] to use the [=feature=] or it has been
reset because it's [=permission/lifetime=] has expired.
</p>
</section>
<section>
<h2>
Expand Down Expand Up @@ -436,6 +442,19 @@ <h3>
</p>
</aside>
</dd>
<dt>
<dfn class="export" data-dfn-for="powerful feature">Default permission state</dfn>:
</dt>
<dd>
<p>
A {{PermissionState}} value that serves as a [=permission=]'s [=permission/default
state=] of a [=powerful feature=].
</p>
<p>
If not specified, the [=permission=]'s [=permission/default state=] is
{{PermissionState/"prompt"}}.
</p>
</dd>
</dl>
<p>
A <dfn class="export">default powerful feature</dfn> is a <a>powerful feature</a> with
Expand Down

0 comments on commit b06b25f

Please sign in to comment.