{"action":"created","issue":{"url":"https://api.github.com/repos/twostairs/paperwork/issues/26","labels_url":"https://api.github.com/repos/twostairs/paperwork/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/twostairs/paperwork/issues/26/comments","events_url":"https://api.github.com/repos/twostairs/paperwork/issues/26/events","html_url":"https://github.com/twostairs/paperwork/issues/26","id":51884052,"number":26,"title":"API for sharing notebooks to other Paperwork-users","user":{"login":"devilx","id":151967,"avatar_url":"https://avatars.githubusercontent.com/u/151967?v=3","gravatar_id":"","url":"https://api.github.com/users/devilx","html_url":"https://github.com/devilx","followers_url":"https://api.github.com/users/devilx/followers","following_url":"https://api.github.com/users/devilx/following{/other_user}","gists_url":"https://api.github.com/users/devilx/gists{/gist_id}","starred_url":"https://api.github.com/users/devilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilx/subscriptions","organizations_url":"https://api.github.com/users/devilx/orgs","repos_url":"https://api.github.com/users/devilx/repos","events_url":"https://api.github.com/users/devilx/events{/privacy}","received_events_url":"https://api.github.com/users/devilx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twostairs/paperwork/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/twostairs/paperwork/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/twostairs/paperwork/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"devilx","id":151967,"avatar_url":"https://avatars.githubusercontent.com/u/151967?v=3","gravatar_id":"","url":"https://api.github.com/users/devilx","html_url":"https://github.com/devilx","followers_url":"https://api.github.com/users/devilx/followers","following_url":"https://api.github.com/users/devilx/following{/other_user}","gists_url":"https://api.github.com/users/devilx/gists{/gist_id}","starred_url":"https://api.github.com/users/devilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilx/subscriptions","organizations_url":"https://api.github.com/users/devilx/orgs","repos_url":"https://api.github.com/users/devilx/repos","events_url":"https://api.github.com/users/devilx/events{/privacy}","received_events_url":"https://api.github.com/users/devilx/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/twostairs/paperwork/milestones/2","html_url":"https://github.com/twostairs/paperwork/milestones/Paperwork%202.0","labels_url":"https://api.github.com/repos/twostairs/paperwork/milestones/2/labels","id":970387,"number":2,"title":"Paperwork 2.0","description":"The next major release of Paperwork.","creator":{"login":"devilx","id":151967,"avatar_url":"https://avatars.githubusercontent.com/u/151967?v=3","gravatar_id":"","url":"https://api.github.com/users/devilx","html_url":"https://github.com/devilx","followers_url":"https://api.github.com/users/devilx/followers","following_url":"https://api.github.com/users/devilx/following{/other_user}","gists_url":"https://api.github.com/users/devilx/gists{/gist_id}","starred_url":"https://api.github.com/users/devilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilx/subscriptions","organizations_url":"https://api.github.com/users/devilx/orgs","repos_url":"https://api.github.com/users/devilx/repos","events_url":"https://api.github.com/users/devilx/events{/privacy}","received_events_url":"https://api.github.com/users/devilx/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":3,"state":"open","created_at":"2015-02-08T10:45:56Z","updated_at":"2015-05-31T22:28:31Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-12-13T10:46:23Z","updated_at":"2015-06-07T12:08:47Z","closed_at":null,"body":"Build APIs that allow sharing of notebooks with other Paperwork-users. The database layout is prepared for this feature and allows multiple many-to-many relations from notebooks to users, containing an \"umask\" column as well, which defines the users permissions on the related notebook. The values are identical to unix' chmod-values, with read adding 4, write adding 2 and ownership (\"execute\" in unix) adding 1 - resulting in the highest value of 7. For this purpose a tinyInt variable is being used, although a binary one (unsupported by Laravel) would have fit better.\r\n\r\nHowever, the person creating and sharing a notebook would always have the umask set to 7, while invited people would be getting either 6 (read & write) or 4 (read only). I don't think it'll make sense to allow multiple notebook owners (7)."},"comment":{"url":"https://api.github.com/repos/twostairs/paperwork/issues/comments/109745298","html_url":"https://github.com/twostairs/paperwork/issues/26#issuecomment-109745298","issue_url":"https://api.github.com/repos/twostairs/paperwork/issues/26","id":109745298,"user":{"login":"clemlaf","id":11900571,"avatar_url":"https://avatars.githubusercontent.com/u/11900571?v=3","gravatar_id":"","url":"https://api.github.com/users/clemlaf","html_url":"https://github.com/clemlaf","followers_url":"https://api.github.com/users/clemlaf/followers","following_url":"https://api.github.com/users/clemlaf/following{/other_user}","gists_url":"https://api.github.com/users/clemlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/clemlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemlaf/subscriptions","organizations_url":"https://api.github.com/users/clemlaf/orgs","repos_url":"https://api.github.com/users/clemlaf/repos","events_url":"https://api.github.com/users/clemlaf/events{/privacy}","received_events_url":"https://api.github.com/users/clemlaf/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T12:08:47Z","updated_at":"2015-06-07T12:08:47Z","body":"This issue can be closed since #386"}}