{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/sensors/issues/132","repository_url":"https://api.github.com/repos/w3c/sensors","labels_url":"https://api.github.com/repos/w3c/sensors/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/w3c/sensors/issues/132/comments","events_url":"https://api.github.com/repos/w3c/sensors/issues/132/events","html_url":"https://github.com/w3c/sensors/issues/132","id":177762370,"number":132,"title":"granularity of Permission name for concrete/ fusion sensors ","user":{"login":"riju","id":975872,"avatar_url":"https://avatars.githubusercontent.com/u/975872?v=3","gravatar_id":"","url":"https://api.github.com/users/riju","html_url":"https://github.com/riju","followers_url":"https://api.github.com/users/riju/followers","following_url":"https://api.github.com/users/riju/following{/other_user}","gists_url":"https://api.github.com/users/riju/gists{/gist_id}","starred_url":"https://api.github.com/users/riju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riju/subscriptions","organizations_url":"https://api.github.com/users/riju/orgs","repos_url":"https://api.github.com/users/riju/repos","events_url":"https://api.github.com/users/riju/events{/privacy}","received_events_url":"https://api.github.com/users/riju/received_events","type":"User","site_admin":false},"labels":[{"id":470656520,"url":"https://api.github.com/repos/w3c/sensors/labels/ED-ready","name":"ED-ready","color":"fbca04","default":false},{"id":470666912,"url":"https://api.github.com/repos/w3c/sensors/labels/permissions","name":"permissions","color":"f9d0c4","default":false},{"id":445268976,"url":"https://api.github.com/repos/w3c/sensors/labels/privacy-security","name":"privacy-security","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"assignees":[{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/w3c/sensors/milestones/2","html_url":"https://github.com/w3c/sensors/milestones/Level%201","labels_url":"https://api.github.com/repos/w3c/sensors/milestones/2/labels","id":1103487,"number":2,"title":"Level 1","description":"Work that needs to be completed for the Level 1 version of the spec.","creator":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":36,"state":"open","created_at":"2015-05-10T07:22:10Z","updated_at":"2016-11-11T12:11:21Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2016-09-19T11:37:28Z","updated_at":"2016-11-14T14:50:32Z","closed_at":null,"body":"All concrete sensors have a permission name as of now, do we need a \"blanket\"  permission depending on the fusion ?\nSuppose Orientation = accelerometer + gyro + magnetometer\n\nwhat happens when user gives permission for acclerometer and not gyro ?\n"},"comment":{"url":"https://api.github.com/repos/w3c/sensors/issues/comments/260354495","html_url":"https://github.com/w3c/sensors/issues/132#issuecomment-260354495","issue_url":"https://api.github.com/repos/w3c/sensors/issues/132","id":260354495,"user":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T14:50:32Z","updated_at":"2016-11-14T14:50:32Z","body":"There is no manifest-based permissions on the Web. So I'm not convinced there is a good reason for developers to need to know the name of a permission to check whether the object they want to use has been granted permission to or not. i.e. I think that something like: \r\n\r\n```js\r\nlet s = new OrientationSensor();\r\npermissions.query(s).then(/*...*/);\r\n```\r\n\r\nmakes more sense than:\r\n\r\n```js\r\nlet s = new OrientationSensor();\r\npermissions.query([\"gyroscope\", \"accelerometer\", \"magnetometer\"]).then(/*...*/);\r\n// or\r\npermissions.query([\"motion-sensors\"]).then(/*...*/);\r\n```"}}
{"actor":{"display_login":"tobie"}}