{"action":"closed","issue":{"url":"https://api.github.com/repos/Kinto/kinto/issues/645","repository_url":"https://api.github.com/repos/Kinto/kinto","labels_url":"https://api.github.com/repos/Kinto/kinto/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/Kinto/kinto/issues/645/comments","events_url":"https://api.github.com/repos/Kinto/kinto/issues/645/events","html_url":"https://github.com/Kinto/kinto/issues/645","id":156497019,"number":645,"title":"Bug when giving write or create permission to system.Everyone","user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kinto/kinto/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Kinto/kinto/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"leplatrem","id":546692,"avatar_url":"https://avatars.githubusercontent.com/u/546692?v=3","gravatar_id":"","url":"https://api.github.com/users/leplatrem","html_url":"https://github.com/leplatrem","followers_url":"https://api.github.com/users/leplatrem/followers","following_url":"https://api.github.com/users/leplatrem/following{/other_user}","gists_url":"https://api.github.com/users/leplatrem/gists{/gist_id}","starred_url":"https://api.github.com/users/leplatrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leplatrem/subscriptions","organizations_url":"https://api.github.com/users/leplatrem/orgs","repos_url":"https://api.github.com/users/leplatrem/repos","events_url":"https://api.github.com/users/leplatrem/events{/privacy}","received_events_url":"https://api.github.com/users/leplatrem/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-24T12:41:01Z","updated_at":"2016-05-25T08:33:20Z","closed_at":"2016-05-25T08:33:20Z","body":"Giving a write or create permission to system.Everyone should create object with write: system.Everyone permission instead of None\r\n\r\n```\r\n$ echo '{\"permissions\": {\"collection:create\": [\"system.Everyone\"]}}' | http PUT https://kinto.dev.mozaws.net/v1/buckets/toto --auth demo:\r\n$ http PUT https://kinto.dev.mozaws.net/v1/buckets/toto/collections/titi\r\n```\r\n```\r\nHTTP/1.1 201 Created\r\nAccess-Control-Expose-Headers: Retry-After, Content-Length, Alert, Vary, Backoff\r\nConnection: keep-alive\r\nContent-Length: 97\r\nContent-Type: application/json; charset=UTF-8\r\nDate: Tue, 24 May 2016 12:32:40 GMT\r\nETag: \"1464093160673\"\r\nLast-Modified: Tue, 24 May 2016 12:32:40 GMT\r\nServer: nginx\r\nVary: Authorization\r\n\r\n{\r\n    \"data\": {\r\n        \"id\": \"titi\", \r\n        \"last_modified\": 1464093160673, \r\n        \"schema\": {}\r\n    }, \r\n    \"permissions\": {\r\n        \"write\": [\r\n            \"None\"\r\n        ]\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"leplatrem"}}