- From: Gary Kacmarcik <notifications@github.com>
- Date: Wed, 13 Sep 2017 18:41:31 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 September 2017 01:42:05 UTC
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;
We don't believe that we'll need to be more granular than write (basic) and read/write (full), partially because that would be hard to surface to the user in a clear way.
Having said that, if you think it would be better to have this be `{ access: "write" }` and `{ access: "full" }` (or "read-write") then I don't have a problem with that. The default `{ clipboard }` would be equivalent to `{ name: "clipboard", access: "write" }` and `full` would be stronger than `write`.
In the future, we may want to add another dimension (e.g., to control access to particular mimetypes), but that would be in a separate field.
--
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_r138780064
Received on Thursday, 14 September 2017 01:42:05 UTC