{"action":"created","comment":{"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/comments/71081659","id":71081659,"diff_hunk":"@@ -67,142 +72,291 @@ function checkAndCreateUser(name, email, password, confirmation) {\n     const error = checkNewUserValues(name, email, password, confirmation);\n \n     if (error) {\n-      reject(error);\n-    }\n-\n-    UsersAdapter.findByEmail(email)\n-    .then(function (user) {\n-      if (!user) {\n-        UsersAdapter.findByName(name)\n-        .then(function (user) {\n-          if (!user) {\n-            UsersAdapter.createUser(name, email,\n-                                    crypto.createHmac('sha256', salt).update(password).digest('hex'))\n-            .then(function (user) {\n-              GroupsAdapter.findByName('user_default')\n-              .then(function (group) {\n-                user.addGroups([group])\n-                .then(function () {\n-                  fulfill(user);\n+      reject(error, null);\n+    } else {\n+      UsersAdapter.findByEmail(email)\n+      .then(function (user) {\n+        if (!user) {\n+          UsersAdapter.findByName(name)\n+          .then(function (user) {\n+            if (!user) {\n+              UsersAdapter.createUser(name, email, crypto.createHmac('sha256', salt).update(password).digest('hex'))\n+              .then(function (user) {\n+                GroupsAdapter.findByName('user_default')\n+                .then(function (group) {\n+                  user.addGroups([group])\n+                  .then(function () {\n+                    fulfill(user);\n+                  });\n                 });\n               });\n-            });\n-          } else {\n-            reject('A user already exists with this name ' + name);\n-          }\n-        });\n-      } else {\n-        reject('A user already exists with this email ' + email);\n-      }\n-    });\n+            } else {\n+              reject('A user already exists with this name', null);\n+            }\n+          });\n+        } else {\n+          reject('A user already exists with this email', null);\n+        }\n+      });\n+    }\n   });\n }\n \n //\n-// Create user entry point from its POST route\n+// Security check for each url of this kind : /api/public/*\n //\n-module.exports.createUser = function (params) {\n-  return function (req, res) {\n-    checkAndCreateUser(req.body.username, req.body.email, req.body.password, req.body.confirmation)\n-      .then(function (user) {\n-        req.session.save(function () {\n-          res.redirect(params.successRedirect);\n-        });\n-      }).catch(function (error) {\n-        res.redirect(params.failureRedirect);\n-      }\n-    );\n-  };\n+module.exports.ensureLoggedOut = function (req, res, next) {\n+  if (req.user) {\n+    logger.warn({ user: { id: req.user.id, name: req.user.name } }, 'Logged user is trying to access a public (logged-out) ressource');\n+    res.status(401).json({ error: 'Already logged-in' });\n+  } else {\n+    next();\n+  }\n+};\n+\n+//\n+// Security check for each url of this kind : /api/logged-in/*\n+//\n+module.exports.ensureLoggedIn = function (req, res, next) {\n+  console.log(req.isAuthenticated());","path":"managers/users.js","position":145,"original_position":145,"commit_id":"d32467b722cb339dad72dcb6a43883abd22a8e9a","original_commit_id":"d32467b722cb339dad72dcb6a43883abd22a8e9a","user":{"login":"clairealmozinos","id":12676729,"avatar_url":"https://avatars.githubusercontent.com/u/12676729?v=3","gravatar_id":"","url":"https://api.github.com/users/clairealmozinos","html_url":"https://github.com/clairealmozinos","followers_url":"https://api.github.com/users/clairealmozinos/followers","following_url":"https://api.github.com/users/clairealmozinos/following{/other_user}","gists_url":"https://api.github.com/users/clairealmozinos/gists{/gist_id}","starred_url":"https://api.github.com/users/clairealmozinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairealmozinos/subscriptions","organizations_url":"https://api.github.com/users/clairealmozinos/orgs","repos_url":"https://api.github.com/users/clairealmozinos/repos","events_url":"https://api.github.com/users/clairealmozinos/events{/privacy}","received_events_url":"https://api.github.com/users/clairealmozinos/received_events","type":"User","site_admin":false},"body":"@Grenadingue console.log should not be commit.","created_at":"2016-07-17T12:32:45Z","updated_at":"2016-07-17T12:32:45Z","html_url":"https://github.com/EIP-SAM/SAM-Solution-Server/pull/52#discussion_r71081659","pull_request_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/comments/71081659"},"html":{"href":"https://github.com/EIP-SAM/SAM-Solution-Server/pull/52#discussion_r71081659"},"pull_request":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52","id":77612353,"html_url":"https://github.com/EIP-SAM/SAM-Solution-Server/pull/52","diff_url":"https://github.com/EIP-SAM/SAM-Solution-Server/pull/52.diff","patch_url":"https://github.com/EIP-SAM/SAM-Solution-Server/pull/52.patch","issue_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/52","number":52,"state":"open","locked":false,"title":"Module users and rights","user":{"login":"Grenadingue","id":9608184,"avatar_url":"https://avatars.githubusercontent.com/u/9608184?v=3","gravatar_id":"","url":"https://api.github.com/users/Grenadingue","html_url":"https://github.com/Grenadingue","followers_url":"https://api.github.com/users/Grenadingue/followers","following_url":"https://api.github.com/users/Grenadingue/following{/other_user}","gists_url":"https://api.github.com/users/Grenadingue/gists{/gist_id}","starred_url":"https://api.github.com/users/Grenadingue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grenadingue/subscriptions","organizations_url":"https://api.github.com/users/Grenadingue/orgs","repos_url":"https://api.github.com/users/Grenadingue/repos","events_url":"https://api.github.com/users/Grenadingue/events{/privacy}","received_events_url":"https://api.github.com/users/Grenadingue/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-15T13:05:32Z","updated_at":"2016-07-17T12:32:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"824eafcdc49137047206de1c885b1d13f23edfc8","assignee":{"login":"BernardJeremy","id":4998208,"avatar_url":"https://avatars.githubusercontent.com/u/4998208?v=3","gravatar_id":"","url":"https://api.github.com/users/BernardJeremy","html_url":"https://github.com/BernardJeremy","followers_url":"https://api.github.com/users/BernardJeremy/followers","following_url":"https://api.github.com/users/BernardJeremy/following{/other_user}","gists_url":"https://api.github.com/users/BernardJeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/BernardJeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernardJeremy/subscriptions","organizations_url":"https://api.github.com/users/BernardJeremy/orgs","repos_url":"https://api.github.com/users/BernardJeremy/repos","events_url":"https://api.github.com/users/BernardJeremy/events{/privacy}","received_events_url":"https://api.github.com/users/BernardJeremy/received_events","type":"User","site_admin":false},"assignees":[{"login":"BernardJeremy","id":4998208,"avatar_url":"https://avatars.githubusercontent.com/u/4998208?v=3","gravatar_id":"","url":"https://api.github.com/users/BernardJeremy","html_url":"https://github.com/BernardJeremy","followers_url":"https://api.github.com/users/BernardJeremy/followers","following_url":"https://api.github.com/users/BernardJeremy/following{/other_user}","gists_url":"https://api.github.com/users/BernardJeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/BernardJeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernardJeremy/subscriptions","organizations_url":"https://api.github.com/users/BernardJeremy/orgs","repos_url":"https://api.github.com/users/BernardJeremy/repos","events_url":"https://api.github.com/users/BernardJeremy/events{/privacy}","received_events_url":"https://api.github.com/users/BernardJeremy/received_events","type":"User","site_admin":false},{"login":"Grenadingue","id":9608184,"avatar_url":"https://avatars.githubusercontent.com/u/9608184?v=3","gravatar_id":"","url":"https://api.github.com/users/Grenadingue","html_url":"https://github.com/Grenadingue","followers_url":"https://api.github.com/users/Grenadingue/followers","following_url":"https://api.github.com/users/Grenadingue/following{/other_user}","gists_url":"https://api.github.com/users/Grenadingue/gists{/gist_id}","starred_url":"https://api.github.com/users/Grenadingue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grenadingue/subscriptions","organizations_url":"https://api.github.com/users/Grenadingue/orgs","repos_url":"https://api.github.com/users/Grenadingue/repos","events_url":"https://api.github.com/users/Grenadingue/events{/privacy}","received_events_url":"https://api.github.com/users/Grenadingue/received_events","type":"User","site_admin":false},{"login":"clairealmozinos","id":12676729,"avatar_url":"https://avatars.githubusercontent.com/u/12676729?v=3","gravatar_id":"","url":"https://api.github.com/users/clairealmozinos","html_url":"https://github.com/clairealmozinos","followers_url":"https://api.github.com/users/clairealmozinos/followers","following_url":"https://api.github.com/users/clairealmozinos/following{/other_user}","gists_url":"https://api.github.com/users/clairealmozinos/gists{/gist_id}","starred_url":"https://api.github.com/users/clairealmozinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairealmozinos/subscriptions","organizations_url":"https://api.github.com/users/clairealmozinos/orgs","repos_url":"https://api.github.com/users/clairealmozinos/repos","events_url":"https://api.github.com/users/clairealmozinos/events{/privacy}","received_events_url":"https://api.github.com/users/clairealmozinos/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52/commits","review_comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52/comments","review_comment_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/52/comments","statuses_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/statuses/d32467b722cb339dad72dcb6a43883abd22a8e9a","head":{"label":"EIP-SAM:module_users_rights","ref":"module_users_rights","sha":"d32467b722cb339dad72dcb6a43883abd22a8e9a","user":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"repo":{"id":50298197,"name":"SAM-Solution-Server","full_name":"EIP-SAM/SAM-Solution-Server","owner":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EIP-SAM/SAM-Solution-Server","description":"System Administration Manager - Web server","fork":false,"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server","forks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/forks","keys_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/teams","hooks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/hooks","issue_events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/events{/number}","events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/events","assignees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/assignees{/user}","branches_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/branches{/branch}","tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/tags","blobs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/refs{/sha}","trees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/statuses/{sha}","languages_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/languages","stargazers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/stargazers","contributors_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/contributors","subscribers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/subscribers","subscription_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/subscription","commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/commits{/sha}","git_commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/commits{/sha}","comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/comments{/number}","issue_comment_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/comments{/number}","contents_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/contents/{+path}","compare_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/merges","archive_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/downloads","issues_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues{/number}","pulls_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls{/number}","milestones_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/milestones{/number}","notifications_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/labels{/name}","releases_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/releases{/id}","deployments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/deployments","created_at":"2016-01-24T17:13:37Z","updated_at":"2016-06-08T16:52:13Z","pushed_at":"2016-07-17T10:47:44Z","git_url":"git://github.com/EIP-SAM/SAM-Solution-Server.git","ssh_url":"git@github.com:EIP-SAM/SAM-Solution-Server.git","clone_url":"https://github.com/EIP-SAM/SAM-Solution-Server.git","svn_url":"https://github.com/EIP-SAM/SAM-Solution-Server","homepage":"","size":837,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"develop"}},"base":{"label":"EIP-SAM:develop","ref":"develop","sha":"0c39a592d3a0bbcbd1e6f5b1a50085fafcb29716","user":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"repo":{"id":50298197,"name":"SAM-Solution-Server","full_name":"EIP-SAM/SAM-Solution-Server","owner":{"login":"EIP-SAM","id":12535470,"avatar_url":"https://avatars.githubusercontent.com/u/12535470?v=3","gravatar_id":"","url":"https://api.github.com/users/EIP-SAM","html_url":"https://github.com/EIP-SAM","followers_url":"https://api.github.com/users/EIP-SAM/followers","following_url":"https://api.github.com/users/EIP-SAM/following{/other_user}","gists_url":"https://api.github.com/users/EIP-SAM/gists{/gist_id}","starred_url":"https://api.github.com/users/EIP-SAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EIP-SAM/subscriptions","organizations_url":"https://api.github.com/users/EIP-SAM/orgs","repos_url":"https://api.github.com/users/EIP-SAM/repos","events_url":"https://api.github.com/users/EIP-SAM/events{/privacy}","received_events_url":"https://api.github.com/users/EIP-SAM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EIP-SAM/SAM-Solution-Server","description":"System Administration Manager - Web server","fork":false,"url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server","forks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/forks","keys_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/teams","hooks_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/hooks","issue_events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/events{/number}","events_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/events","assignees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/assignees{/user}","branches_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/branches{/branch}","tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/tags","blobs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/refs{/sha}","trees_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/statuses/{sha}","languages_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/languages","stargazers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/stargazers","contributors_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/contributors","subscribers_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/subscribers","subscription_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/subscription","commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/commits{/sha}","git_commits_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/git/commits{/sha}","comments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/comments{/number}","issue_comment_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/comments{/number}","contents_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/contents/{+path}","compare_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/merges","archive_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/downloads","issues_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues{/number}","pulls_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls{/number}","milestones_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/milestones{/number}","notifications_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/labels{/name}","releases_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/releases{/id}","deployments_url":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/deployments","created_at":"2016-01-24T17:13:37Z","updated_at":"2016-06-08T16:52:13Z","pushed_at":"2016-07-17T10:47:44Z","git_url":"git://github.com/EIP-SAM/SAM-Solution-Server.git","ssh_url":"git@github.com:EIP-SAM/SAM-Solution-Server.git","clone_url":"https://github.com/EIP-SAM/SAM-Solution-Server.git","svn_url":"https://github.com/EIP-SAM/SAM-Solution-Server","homepage":"","size":837,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52"},"html":{"href":"https://github.com/EIP-SAM/SAM-Solution-Server/pull/52"},"issue":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/52"},"comments":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/EIP-SAM/SAM-Solution-Server/statuses/d32467b722cb339dad72dcb6a43883abd22a8e9a"}}}}
{"actor":{"display_login":"clairealmozinos"}}