{"action":"closed","number":670,"pull_request":{"url":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/670","id":59394096,"html_url":"https://github.com/asascience-open/ooi-ui/pull/670","diff_url":"https://github.com/asascience-open/ooi-ui/pull/670.diff","patch_url":"https://github.com/asascience-open/ooi-ui/pull/670.patch","issue_url":"https://api.github.com/repos/asascience-open/ooi-ui/issues/670","number":670,"state":"closed","locked":false,"title":"Check for scopes in dropdown.","user":{"login":"RyanMaciel","id":5882423,"avatar_url":"https://avatars.githubusercontent.com/u/5882423?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanMaciel","html_url":"https://github.com/RyanMaciel","followers_url":"https://api.github.com/users/RyanMaciel/followers","following_url":"https://api.github.com/users/RyanMaciel/following{/other_user}","gists_url":"https://api.github.com/users/RyanMaciel/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanMaciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanMaciel/subscriptions","organizations_url":"https://api.github.com/users/RyanMaciel/orgs","repos_url":"https://api.github.com/users/RyanMaciel/repos","events_url":"https://api.github.com/users/RyanMaciel/events{/privacy}","received_events_url":"https://api.github.com/users/RyanMaciel/received_events","type":"User","site_admin":false},"body":"Checks for the users scopes in the navbar and only shows ui that is available to them.","created_at":"2016-02-15T17:36:40Z","updated_at":"2016-02-18T16:38:39Z","closed_at":"2016-02-18T16:38:39Z","merged_at":"2016-02-18T16:38:39Z","merge_commit_sha":"54c73c3fbdcd697a972d96e8917ccef7e30d3fa4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/670/commits","review_comments_url":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/670/comments","review_comment_url":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asascience-open/ooi-ui/issues/670/comments","statuses_url":"https://api.github.com/repos/asascience-open/ooi-ui/statuses/63ddbade5fffd1325f2b44fc4bf4cc81e0e119f3","head":{"label":"RyanMaciel:rm_dropdown_scopes","ref":"rm_dropdown_scopes","sha":"63ddbade5fffd1325f2b44fc4bf4cc81e0e119f3","user":{"login":"RyanMaciel","id":5882423,"avatar_url":"https://avatars.githubusercontent.com/u/5882423?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanMaciel","html_url":"https://github.com/RyanMaciel","followers_url":"https://api.github.com/users/RyanMaciel/followers","following_url":"https://api.github.com/users/RyanMaciel/following{/other_user}","gists_url":"https://api.github.com/users/RyanMaciel/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanMaciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanMaciel/subscriptions","organizations_url":"https://api.github.com/users/RyanMaciel/orgs","repos_url":"https://api.github.com/users/RyanMaciel/repos","events_url":"https://api.github.com/users/RyanMaciel/events{/privacy}","received_events_url":"https://api.github.com/users/RyanMaciel/received_events","type":"User","site_admin":false},"repo":{"id":44978727,"name":"ooi-ui","full_name":"RyanMaciel/ooi-ui","owner":{"login":"RyanMaciel","id":5882423,"avatar_url":"https://avatars.githubusercontent.com/u/5882423?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanMaciel","html_url":"https://github.com/RyanMaciel","followers_url":"https://api.github.com/users/RyanMaciel/followers","following_url":"https://api.github.com/users/RyanMaciel/following{/other_user}","gists_url":"https://api.github.com/users/RyanMaciel/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanMaciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanMaciel/subscriptions","organizations_url":"https://api.github.com/users/RyanMaciel/orgs","repos_url":"https://api.github.com/users/RyanMaciel/repos","events_url":"https://api.github.com/users/RyanMaciel/events{/privacy}","received_events_url":"https://api.github.com/users/RyanMaciel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RyanMaciel/ooi-ui","description":"Ocean Observatories Initiative - User Interface Frontend","fork":true,"url":"https://api.github.com/repos/RyanMaciel/ooi-ui","forks_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/forks","keys_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/teams","hooks_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/hooks","issue_events_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/issues/events{/number}","events_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/events","assignees_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/assignees{/user}","branches_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/branches{/branch}","tags_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/tags","blobs_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/languages","stargazers_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/stargazers","contributors_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/contributors","subscribers_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/subscribers","subscription_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/subscription","commits_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/contents/{+path}","compare_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/merges","archive_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/downloads","issues_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/issues{/number}","pulls_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/labels{/name}","releases_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/releases{/id}","deployments_url":"https://api.github.com/repos/RyanMaciel/ooi-ui/deployments","created_at":"2015-10-26T15:43:22Z","updated_at":"2015-10-26T15:43:24Z","pushed_at":"2016-02-15T17:35:29Z","git_url":"git://github.com/RyanMaciel/ooi-ui.git","ssh_url":"git@github.com:RyanMaciel/ooi-ui.git","clone_url":"https://github.com/RyanMaciel/ooi-ui.git","svn_url":"https://github.com/RyanMaciel/ooi-ui","homepage":"","size":25530,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"asascience-open:master","ref":"master","sha":"dd31db8924c22284d0278bab819d9252583fe3b2","user":{"login":"asascience-open","id":375785,"avatar_url":"https://avatars.githubusercontent.com/u/375785?v=3","gravatar_id":"","url":"https://api.github.com/users/asascience-open","html_url":"https://github.com/asascience-open","followers_url":"https://api.github.com/users/asascience-open/followers","following_url":"https://api.github.com/users/asascience-open/following{/other_user}","gists_url":"https://api.github.com/users/asascience-open/gists{/gist_id}","starred_url":"https://api.github.com/users/asascience-open/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asascience-open/subscriptions","organizations_url":"https://api.github.com/users/asascience-open/orgs","repos_url":"https://api.github.com/users/asascience-open/repos","events_url":"https://api.github.com/users/asascience-open/events{/privacy}","received_events_url":"https://api.github.com/users/asascience-open/received_events","type":"Organization","site_admin":false},"repo":{"id":23796073,"name":"ooi-ui","full_name":"asascience-open/ooi-ui","owner":{"login":"asascience-open","id":375785,"avatar_url":"https://avatars.githubusercontent.com/u/375785?v=3","gravatar_id":"","url":"https://api.github.com/users/asascience-open","html_url":"https://github.com/asascience-open","followers_url":"https://api.github.com/users/asascience-open/followers","following_url":"https://api.github.com/users/asascience-open/following{/other_user}","gists_url":"https://api.github.com/users/asascience-open/gists{/gist_id}","starred_url":"https://api.github.com/users/asascience-open/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asascience-open/subscriptions","organizations_url":"https://api.github.com/users/asascience-open/orgs","repos_url":"https://api.github.com/users/asascience-open/repos","events_url":"https://api.github.com/users/asascience-open/events{/privacy}","received_events_url":"https://api.github.com/users/asascience-open/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asascience-open/ooi-ui","description":"Ocean Observatories Initiative - User Interface Frontend","fork":false,"url":"https://api.github.com/repos/asascience-open/ooi-ui","forks_url":"https://api.github.com/repos/asascience-open/ooi-ui/forks","keys_url":"https://api.github.com/repos/asascience-open/ooi-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asascience-open/ooi-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asascience-open/ooi-ui/teams","hooks_url":"https://api.github.com/repos/asascience-open/ooi-ui/hooks","issue_events_url":"https://api.github.com/repos/asascience-open/ooi-ui/issues/events{/number}","events_url":"https://api.github.com/repos/asascience-open/ooi-ui/events","assignees_url":"https://api.github.com/repos/asascience-open/ooi-ui/assignees{/user}","branches_url":"https://api.github.com/repos/asascience-open/ooi-ui/branches{/branch}","tags_url":"https://api.github.com/repos/asascience-open/ooi-ui/tags","blobs_url":"https://api.github.com/repos/asascience-open/ooi-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asascience-open/ooi-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asascience-open/ooi-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/asascience-open/ooi-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asascience-open/ooi-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/asascience-open/ooi-ui/languages","stargazers_url":"https://api.github.com/repos/asascience-open/ooi-ui/stargazers","contributors_url":"https://api.github.com/repos/asascience-open/ooi-ui/contributors","subscribers_url":"https://api.github.com/repos/asascience-open/ooi-ui/subscribers","subscription_url":"https://api.github.com/repos/asascience-open/ooi-ui/subscription","commits_url":"https://api.github.com/repos/asascience-open/ooi-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/asascience-open/ooi-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/asascience-open/ooi-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/asascience-open/ooi-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/asascience-open/ooi-ui/contents/{+path}","compare_url":"https://api.github.com/repos/asascience-open/ooi-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asascience-open/ooi-ui/merges","archive_url":"https://api.github.com/repos/asascience-open/ooi-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asascience-open/ooi-ui/downloads","issues_url":"https://api.github.com/repos/asascience-open/ooi-ui/issues{/number}","pulls_url":"https://api.github.com/repos/asascience-open/ooi-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/asascience-open/ooi-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/asascience-open/ooi-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asascience-open/ooi-ui/labels{/name}","releases_url":"https://api.github.com/repos/asascience-open/ooi-ui/releases{/id}","deployments_url":"https://api.github.com/repos/asascience-open/ooi-ui/deployments","created_at":"2014-09-08T15:21:59Z","updated_at":"2016-01-12T18:05:13Z","pushed_at":"2016-02-18T16:38:39Z","git_url":"git://github.com/asascience-open/ooi-ui.git","ssh_url":"git@github.com:asascience-open/ooi-ui.git","clone_url":"https://github.com/asascience-open/ooi-ui.git","svn_url":"https://github.com/asascience-open/ooi-ui","homepage":"","size":71601,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":8,"forks":15,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/670"},"html":{"href":"https://github.com/asascience-open/ooi-ui/pull/670"},"issue":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/issues/670"},"comments":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/asascience-open/ooi-ui/statuses/63ddbade5fffd1325f2b44fc4bf4cc81e0e119f3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"DanielJMaher","id":6311839,"avatar_url":"https://avatars.githubusercontent.com/u/6311839?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielJMaher","html_url":"https://github.com/DanielJMaher","followers_url":"https://api.github.com/users/DanielJMaher/followers","following_url":"https://api.github.com/users/DanielJMaher/following{/other_user}","gists_url":"https://api.github.com/users/DanielJMaher/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielJMaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielJMaher/subscriptions","organizations_url":"https://api.github.com/users/DanielJMaher/orgs","repos_url":"https://api.github.com/users/DanielJMaher/repos","events_url":"https://api.github.com/users/DanielJMaher/events{/privacy}","received_events_url":"https://api.github.com/users/DanielJMaher/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":19,"deletions":7,"changed_files":3}}