{"action":"closed","number":462,"pull_request":{"url":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/462","id":92295679,"html_url":"https://github.com/Nanocloud/nanocloud/pull/462","diff_url":"https://github.com/Nanocloud/nanocloud/pull/462.diff","patch_url":"https://github.com/Nanocloud/nanocloud/pull/462.patch","issue_url":"https://api.github.com/repos/Nanocloud/nanocloud/issues/462","number":462,"state":"closed","locked":false,"title":"Machine are available in machine page, for regular users.","user":{"login":"corentindrouet","id":16082169,"avatar_url":"https://avatars.githubusercontent.com/u/16082169?v=3","gravatar_id":"","url":"https://api.github.com/users/corentindrouet","html_url":"https://github.com/corentindrouet","followers_url":"https://api.github.com/users/corentindrouet/followers","following_url":"https://api.github.com/users/corentindrouet/following{/other_user}","gists_url":"https://api.github.com/users/corentindrouet/gists{/gist_id}","starred_url":"https://api.github.com/users/corentindrouet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corentindrouet/subscriptions","organizations_url":"https://api.github.com/users/corentindrouet/orgs","repos_url":"https://api.github.com/users/corentindrouet/repos","events_url":"https://api.github.com/users/corentindrouet/events{/privacy}","received_events_url":"https://api.github.com/users/corentindrouet/received_events","type":"User","site_admin":false},"body":"Fixes #460 \r\n\r\nWhen going to machines page, a request is made to sessions to know if machines are in use.\r\nRegular users didn't have the right to request this endpoint.\r\nCorrect it by let regular users access only his sessions informations, checking his right before returning sessions.","created_at":"2016-11-04T07:41:53Z","updated_at":"2016-11-07T16:40:44Z","closed_at":"2016-11-07T16:40:44Z","merged_at":"2016-11-07T16:40:44Z","merge_commit_sha":"b7bd8ef7504ee8203a6c827817e4dfb9a4f8bfe1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/462/commits","review_comments_url":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/462/comments","review_comment_url":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nanocloud/nanocloud/issues/462/comments","statuses_url":"https://api.github.com/repos/Nanocloud/nanocloud/statuses/6e2f4b589f35bd7c3ac8c3da60a409fd4aa3c0b8","head":{"label":"corentindrouet:no_machine","ref":"no_machine","sha":"6e2f4b589f35bd7c3ac8c3da60a409fd4aa3c0b8","user":{"login":"corentindrouet","id":16082169,"avatar_url":"https://avatars.githubusercontent.com/u/16082169?v=3","gravatar_id":"","url":"https://api.github.com/users/corentindrouet","html_url":"https://github.com/corentindrouet","followers_url":"https://api.github.com/users/corentindrouet/followers","following_url":"https://api.github.com/users/corentindrouet/following{/other_user}","gists_url":"https://api.github.com/users/corentindrouet/gists{/gist_id}","starred_url":"https://api.github.com/users/corentindrouet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corentindrouet/subscriptions","organizations_url":"https://api.github.com/users/corentindrouet/orgs","repos_url":"https://api.github.com/users/corentindrouet/repos","events_url":"https://api.github.com/users/corentindrouet/events{/privacy}","received_events_url":"https://api.github.com/users/corentindrouet/received_events","type":"User","site_admin":false},"repo":{"id":64122553,"name":"nanocloud","full_name":"corentindrouet/nanocloud","owner":{"login":"corentindrouet","id":16082169,"avatar_url":"https://avatars.githubusercontent.com/u/16082169?v=3","gravatar_id":"","url":"https://api.github.com/users/corentindrouet","html_url":"https://github.com/corentindrouet","followers_url":"https://api.github.com/users/corentindrouet/followers","following_url":"https://api.github.com/users/corentindrouet/following{/other_user}","gists_url":"https://api.github.com/users/corentindrouet/gists{/gist_id}","starred_url":"https://api.github.com/users/corentindrouet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corentindrouet/subscriptions","organizations_url":"https://api.github.com/users/corentindrouet/orgs","repos_url":"https://api.github.com/users/corentindrouet/repos","events_url":"https://api.github.com/users/corentindrouet/events{/privacy}","received_events_url":"https://api.github.com/users/corentindrouet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/corentindrouet/nanocloud","description":null,"fork":true,"url":"https://api.github.com/repos/corentindrouet/nanocloud","forks_url":"https://api.github.com/repos/corentindrouet/nanocloud/forks","keys_url":"https://api.github.com/repos/corentindrouet/nanocloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/corentindrouet/nanocloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/corentindrouet/nanocloud/teams","hooks_url":"https://api.github.com/repos/corentindrouet/nanocloud/hooks","issue_events_url":"https://api.github.com/repos/corentindrouet/nanocloud/issues/events{/number}","events_url":"https://api.github.com/repos/corentindrouet/nanocloud/events","assignees_url":"https://api.github.com/repos/corentindrouet/nanocloud/assignees{/user}","branches_url":"https://api.github.com/repos/corentindrouet/nanocloud/branches{/branch}","tags_url":"https://api.github.com/repos/corentindrouet/nanocloud/tags","blobs_url":"https://api.github.com/repos/corentindrouet/nanocloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/corentindrouet/nanocloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/corentindrouet/nanocloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/corentindrouet/nanocloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/corentindrouet/nanocloud/statuses/{sha}","languages_url":"https://api.github.com/repos/corentindrouet/nanocloud/languages","stargazers_url":"https://api.github.com/repos/corentindrouet/nanocloud/stargazers","contributors_url":"https://api.github.com/repos/corentindrouet/nanocloud/contributors","subscribers_url":"https://api.github.com/repos/corentindrouet/nanocloud/subscribers","subscription_url":"https://api.github.com/repos/corentindrouet/nanocloud/subscription","commits_url":"https://api.github.com/repos/corentindrouet/nanocloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/corentindrouet/nanocloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/corentindrouet/nanocloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/corentindrouet/nanocloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/corentindrouet/nanocloud/contents/{+path}","compare_url":"https://api.github.com/repos/corentindrouet/nanocloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/corentindrouet/nanocloud/merges","archive_url":"https://api.github.com/repos/corentindrouet/nanocloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/corentindrouet/nanocloud/downloads","issues_url":"https://api.github.com/repos/corentindrouet/nanocloud/issues{/number}","pulls_url":"https://api.github.com/repos/corentindrouet/nanocloud/pulls{/number}","milestones_url":"https://api.github.com/repos/corentindrouet/nanocloud/milestones{/number}","notifications_url":"https://api.github.com/repos/corentindrouet/nanocloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/corentindrouet/nanocloud/labels{/name}","releases_url":"https://api.github.com/repos/corentindrouet/nanocloud/releases{/id}","deployments_url":"https://api.github.com/repos/corentindrouet/nanocloud/deployments","created_at":"2016-07-25T09:41:42Z","updated_at":"2016-07-25T09:41:43Z","pushed_at":"2016-11-07T15:24:53Z","git_url":"git://github.com/corentindrouet/nanocloud.git","ssh_url":"git@github.com:corentindrouet/nanocloud.git","clone_url":"https://github.com/corentindrouet/nanocloud.git","svn_url":"https://github.com/corentindrouet/nanocloud","homepage":"http://nanocloud.com","size":2648,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Nanocloud:master","ref":"master","sha":"cf8434ee046206314fe1daaa3b58e913b4a63fa2","user":{"login":"Nanocloud","id":8394601,"avatar_url":"https://avatars.githubusercontent.com/u/8394601?v=3","gravatar_id":"","url":"https://api.github.com/users/Nanocloud","html_url":"https://github.com/Nanocloud","followers_url":"https://api.github.com/users/Nanocloud/followers","following_url":"https://api.github.com/users/Nanocloud/following{/other_user}","gists_url":"https://api.github.com/users/Nanocloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Nanocloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nanocloud/subscriptions","organizations_url":"https://api.github.com/users/Nanocloud/orgs","repos_url":"https://api.github.com/users/Nanocloud/repos","events_url":"https://api.github.com/users/Nanocloud/events{/privacy}","received_events_url":"https://api.github.com/users/Nanocloud/received_events","type":"Organization","site_admin":false},"repo":{"id":63088572,"name":"nanocloud","full_name":"Nanocloud/nanocloud","owner":{"login":"Nanocloud","id":8394601,"avatar_url":"https://avatars.githubusercontent.com/u/8394601?v=3","gravatar_id":"","url":"https://api.github.com/users/Nanocloud","html_url":"https://github.com/Nanocloud","followers_url":"https://api.github.com/users/Nanocloud/followers","following_url":"https://api.github.com/users/Nanocloud/following{/other_user}","gists_url":"https://api.github.com/users/Nanocloud/gists{/gist_id}","starred_url":"https://api.github.com/users/Nanocloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nanocloud/subscriptions","organizations_url":"https://api.github.com/users/Nanocloud/orgs","repos_url":"https://api.github.com/users/Nanocloud/repos","events_url":"https://api.github.com/users/Nanocloud/events{/privacy}","received_events_url":"https://api.github.com/users/Nanocloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Nanocloud/nanocloud","description":null,"fork":false,"url":"https://api.github.com/repos/Nanocloud/nanocloud","forks_url":"https://api.github.com/repos/Nanocloud/nanocloud/forks","keys_url":"https://api.github.com/repos/Nanocloud/nanocloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nanocloud/nanocloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nanocloud/nanocloud/teams","hooks_url":"https://api.github.com/repos/Nanocloud/nanocloud/hooks","issue_events_url":"https://api.github.com/repos/Nanocloud/nanocloud/issues/events{/number}","events_url":"https://api.github.com/repos/Nanocloud/nanocloud/events","assignees_url":"https://api.github.com/repos/Nanocloud/nanocloud/assignees{/user}","branches_url":"https://api.github.com/repos/Nanocloud/nanocloud/branches{/branch}","tags_url":"https://api.github.com/repos/Nanocloud/nanocloud/tags","blobs_url":"https://api.github.com/repos/Nanocloud/nanocloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nanocloud/nanocloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nanocloud/nanocloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nanocloud/nanocloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nanocloud/nanocloud/statuses/{sha}","languages_url":"https://api.github.com/repos/Nanocloud/nanocloud/languages","stargazers_url":"https://api.github.com/repos/Nanocloud/nanocloud/stargazers","contributors_url":"https://api.github.com/repos/Nanocloud/nanocloud/contributors","subscribers_url":"https://api.github.com/repos/Nanocloud/nanocloud/subscribers","subscription_url":"https://api.github.com/repos/Nanocloud/nanocloud/subscription","commits_url":"https://api.github.com/repos/Nanocloud/nanocloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nanocloud/nanocloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nanocloud/nanocloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nanocloud/nanocloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nanocloud/nanocloud/contents/{+path}","compare_url":"https://api.github.com/repos/Nanocloud/nanocloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nanocloud/nanocloud/merges","archive_url":"https://api.github.com/repos/Nanocloud/nanocloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nanocloud/nanocloud/downloads","issues_url":"https://api.github.com/repos/Nanocloud/nanocloud/issues{/number}","pulls_url":"https://api.github.com/repos/Nanocloud/nanocloud/pulls{/number}","milestones_url":"https://api.github.com/repos/Nanocloud/nanocloud/milestones{/number}","notifications_url":"https://api.github.com/repos/Nanocloud/nanocloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nanocloud/nanocloud/labels{/name}","releases_url":"https://api.github.com/repos/Nanocloud/nanocloud/releases{/id}","deployments_url":"https://api.github.com/repos/Nanocloud/nanocloud/deployments","created_at":"2016-07-11T17:36:07Z","updated_at":"2016-10-24T13:11:39Z","pushed_at":"2016-11-07T16:40:44Z","git_url":"git://github.com/Nanocloud/nanocloud.git","ssh_url":"git@github.com:Nanocloud/nanocloud.git","clone_url":"https://github.com/Nanocloud/nanocloud.git","svn_url":"https://github.com/Nanocloud/nanocloud","homepage":"http://nanocloud.com","size":2913,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":45,"forks":6,"open_issues":45,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/462"},"html":{"href":"https://github.com/Nanocloud/nanocloud/pull/462"},"issue":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/issues/462"},"comments":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/issues/462/comments"},"review_comments":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/462/comments"},"review_comment":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/pulls/462/commits"},"statuses":{"href":"https://api.github.com/repos/Nanocloud/nanocloud/statuses/6e2f4b589f35bd7c3ac8c3da60a409fd4aa3c0b8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Gentux","id":454841,"avatar_url":"https://avatars.githubusercontent.com/u/454841?v=3","gravatar_id":"","url":"https://api.github.com/users/Gentux","html_url":"https://github.com/Gentux","followers_url":"https://api.github.com/users/Gentux/followers","following_url":"https://api.github.com/users/Gentux/following{/other_user}","gists_url":"https://api.github.com/users/Gentux/gists{/gist_id}","starred_url":"https://api.github.com/users/Gentux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gentux/subscriptions","organizations_url":"https://api.github.com/users/Gentux/orgs","repos_url":"https://api.github.com/users/Gentux/repos","events_url":"https://api.github.com/users/Gentux/events{/privacy}","received_events_url":"https://api.github.com/users/Gentux/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"Gentux"}}