Re: [w3c/permissions] Add ClipboardPermissionDescriptor (#155)

garykac commented on this pull request.



> @@ -1082,6 +1082,28 @@ spec: webidl
       permission is the permission associated with the usage of the
       asynchronous methods in the [[clipboard-apis]].
     </p>
+    <dl>
+      <dt>
+        <a>permission descriptor type</a>
+      </dt>
+      <dd>
+        <pre class='idl'>
+          dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
+            boolean fullAccess = false;

Agreed, and `{ access: "full" }` does seem to be a bit more future-proof if we ever need to make changes.

Also, see https://github.com/w3c/clipboard-apis/issues/51 for additional context about why we don't think separate "read" and "write" works well. For some reason, I thought you were on that thread.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/155#discussion_r138944810

Received on Thursday, 14 September 2017 16:30:08 UTC