{"action":"created","issue":{"url":"https://api.github.com/repos/Zentyal/sogo/issues/109","labels_url":"https://api.github.com/repos/Zentyal/sogo/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/Zentyal/sogo/issues/109/comments","events_url":"https://api.github.com/repos/Zentyal/sogo/issues/109/events","html_url":"https://github.com/Zentyal/sogo/pull/109","id":62825030,"number":109,"title":"oc: Empty ACL from a folder works with several users","user":{"login":"sixstone-qq","id":440508,"avatar_url":"https://avatars.githubusercontent.com/u/440508?v=3","gravatar_id":"","url":"https://api.github.com/users/sixstone-qq","html_url":"https://github.com/sixstone-qq","followers_url":"https://api.github.com/users/sixstone-qq/followers","following_url":"https://api.github.com/users/sixstone-qq/following{/other_user}","gists_url":"https://api.github.com/users/sixstone-qq/gists{/gist_id}","starred_url":"https://api.github.com/users/sixstone-qq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sixstone-qq/subscriptions","organizations_url":"https://api.github.com/users/sixstone-qq/orgs","repos_url":"https://api.github.com/users/sixstone-qq/repos","events_url":"https://api.github.com/users/sixstone-qq/events{/privacy}","received_events_url":"https://api.github.com/users/sixstone-qq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Zentyal/sogo/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-18T23:11:20Z","updated_at":"2015-03-24T09:41:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Zentyal/sogo/pulls/109","html_url":"https://github.com/Zentyal/sogo/pull/109","diff_url":"https://github.com/Zentyal/sogo/pull/109.diff","patch_url":"https://github.com/Zentyal/sogo/pull/109.patch"},"body":"The `[SOGoFolder:aclUsers]` returns a reference to a `NSArray`\r\nwhich is being modified in the `for` loop making fail when\r\nmore than one user is in the ACL with `NSRangeException`.\r\n\r\nNEWS message to include after merge in *Bug fixes* section:\r\n\r\n```\r\n - Fix setting permissions for a folder with several users\r\n```"},"comment":{"url":"https://api.github.com/repos/Zentyal/sogo/issues/comments/85424132","html_url":"https://github.com/Zentyal/sogo/pull/109#issuecomment-85424132","issue_url":"https://api.github.com/repos/Zentyal/sogo/issues/109","id":85424132,"user":{"login":"blaxter","id":8926,"avatar_url":"https://avatars.githubusercontent.com/u/8926?v=3","gravatar_id":"","url":"https://api.github.com/users/blaxter","html_url":"https://github.com/blaxter","followers_url":"https://api.github.com/users/blaxter/followers","following_url":"https://api.github.com/users/blaxter/following{/other_user}","gists_url":"https://api.github.com/users/blaxter/gists{/gist_id}","starred_url":"https://api.github.com/users/blaxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaxter/subscriptions","organizations_url":"https://api.github.com/users/blaxter/orgs","repos_url":"https://api.github.com/users/blaxter/repos","events_url":"https://api.github.com/users/blaxter/events{/privacy}","received_events_url":"https://api.github.com/users/blaxter/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T09:41:49Z","updated_at":"2015-03-24T09:41:49Z","body":"I can't test the code because in MAPIStoreFolder.m:1769 flags are always '2' (and they need to be 1 to trigger the code)."}}