{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/21349","labels_url":"https://api.github.com/repos/owncloud/core/issues/21349/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/21349/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/21349/events","html_url":"https://github.com/owncloud/core/pull/21349","id":123631077,"number":21349,"title":"Webinterface use sharee API","user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/comp:core-js","name":"comp:core-js","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:sharing","name":"feature:sharing","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-current","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":647,"closed_issues":794,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2016-01-04T10:58:47Z","due_on":"2016-03-08T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-12-23T09:54:58Z","updated_at":"2016-01-04T11:48:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/21349","html_url":"https://github.com/owncloud/core/pull/21349","diff_url":"https://github.com/owncloud/core/pull/21349.diff","patch_url":"https://github.com/owncloud/core/pull/21349.patch"},"body":"Replaces #18236\r\n\r\nUse the sharee endpoint for getting the list of people to share with.\r\n\r\n- [X] Use sharee API\r\n- [X] Filter sharees already shared with\r\n- [X] Filter current user\r\n- [X] Filter shared by (if this file/folder is shared with you)\r\n- [x] More unit tests\r\n\r\nCC: @owncloud/javascript @nickvergessen "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/168655076","html_url":"https://github.com/owncloud/core/pull/21349#issuecomment-168655076","issue_url":"https://api.github.com/repos/owncloud/core/issues/21349","id":168655076,"user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T11:48:20Z","updated_at":"2016-01-04T11:48:20Z","body":"> Do we need to do all this post processing of the results to take out owner and current User on the client side? I've seen this on the desktop client as well. Feels somewhat error prone to me, too much code duplication, too much error prone?\r\n\r\nTrue story. I would like to have this filtered on the server side."}}