payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bcgov/nr-get-token/pulls/comments/316384902","pull_request_review_id":278050577,"id":316384902,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxNjM4NDkwMg==","diff_hunk":"@@ -20,8 +20,9 @@ export default {\n         const payload = JSON.parse(atob(token.split('.')[1]));\n         const roles = payload.realm_access.roles;\n \n+        // TODO: this will require re-conceptualizing as acronyms will come from the DB, not the access roles in the future.\n         if (typeof roles === 'object' && roles instanceof Array) {\n-          state.acronyms = roles.filter(role => !role.match(/offline_access|uma_authorization/));\n+          state.acronyms = roles.filter(role => !role.match(/offline_access|uma_authorization|WEBADE_CFG_READ|WEBADE_CFG_READ_ALL/));","path":"frontend/src/store/modules/auth.js","position":7,"original_position":7,"commit_id":"82494932d4b58f52ffb7c7524becedda7658ec3a","original_commit_id":"6c47b6e3f5d8d33fee493c99472306a153f0859a","user":{"login":"parc-jason","id":39388115,"node_id":"MDQ6VXNlcjM5Mzg4MTE1","avatar_url":"https://avatars2.githubusercontent.com/u/39388115?v=4","gravatar_id":"","url":"https://api.github.com/users/parc-jason","html_url":"https://github.com/parc-jason","followers_url":"https://api.github.com/users/parc-jason/followers","following_url":"https://api.github.com/users/parc-jason/following{/other_user}","gists_url":"https://api.github.com/users/parc-jason/gists{/gist_id}","starred_url":"https://api.github.com/users/parc-jason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parc-jason/subscriptions","organizations_url":"https://api.github.com/users/parc-jason/orgs","repos_url":"https://api.github.com/users/parc-jason/repos","events_url":"https://api.github.com/users/parc-jason/events{/privacy}","received_events_url":"https://api.github.com/users/parc-jason/received_events","type":"User","site_admin":false},"body":"Ahhh, yes.","created_at":"2019-08-21T20:22:47Z","updated_at":"2019-08-21T20:22:48Z","html_url":"https://github.com/bcgov/nr-get-token/pull/84#discussion_r316384902","pull_request_url":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/bcgov/nr-get-token/pulls/comments/316384902"},"html":{"href":"https://github.com/bcgov/nr-get-token/pull/84#discussion_r316384902"},"pull_request":{"href":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84"}},"in_reply_to_id":316381232},"pull_request":{"url":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84","id":309639467,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA5NjM5NDY3","html_url":"https://github.com/bcgov/nr-get-token/pull/84","diff_url":"https://github.com/bcgov/nr-get-token/pull/84.diff","patch_url":"https://github.com/bcgov/nr-get-token/pull/84.patch","issue_url":"https://api.github.com/repos/bcgov/nr-get-token/issues/84","number":84,"state":"open","locked":false,"title":"Feature/get app config","user":{"login":"loneil","id":17445138,"node_id":"MDQ6VXNlcjE3NDQ1MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/17445138?v=4","gravatar_id":"","url":"https://api.github.com/users/loneil","html_url":"https://github.com/loneil","followers_url":"https://api.github.com/users/loneil/followers","following_url":"https://api.github.com/users/loneil/following{/other_user}","gists_url":"https://api.github.com/users/loneil/gists{/gist_id}","starred_url":"https://api.github.com/users/loneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loneil/subscriptions","organizations_url":"https://api.github.com/users/loneil/orgs","repos_url":"https://api.github.com/users/loneil/repos","events_url":"https://api.github.com/users/loneil/events{/privacy}","received_events_url":"https://api.github.com/users/loneil/received_events","type":"User","site_admin":false},"body":"<!-- Provide a general summary of your changes in the Title above -->\r\n# Description\r\nA backend endpoint implementation to allow fetching WebADE configurations via the getok api.\r\nRestricts read access to acronyms that a user is associated with, or a power user can be in the WEBADE_CFG_READ_ALL group.\r\n\r\nGET on /api/v1/appConfig/{webadeEnv}/{acronym}\r\n<!-- Describe your changes in detail -->\r\n<!-- Why is this change required? What problem does it solve? -->\r\n<!-- If it fixes an open issue, please link to the issue here. -->\r\n\r\n## Types of changes\r\n\r\n<!-- What types of changes does your code introduce? Uncomment all that apply: -->\r\n\r\n<!-- Bug fix (non-breaking change which fixes an issue) -->\r\nNew feature (non-breaking change which adds functionality)\r\n<!-- Documentation (non-breaking change with enhancements to documentation) -->\r\n<!-- Breaking change (fix or feature that would cause existing functionality to change) -->\r\n\r\n## Checklist\r\n\r\n<!-- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n\r\n- [x] I have read the [CONTRIBUTING](CONTRIBUTING.md) doc\r\n- [x] I have checked that unit tests pass locally with my changes\r\n- [x] I have added tests that prove my fix is effective or that my feature works\r\n- [x] I have added necessary documentation (if appropriate)\r\n\r\n## Further comments\r\n\r\n<!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... -->","created_at":"2019-08-21T18:53:18Z","updated_at":"2019-08-21T20:22:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a373935529fae2663c239809adbfecbf641cdf20","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jujaga","id":1546326,"node_id":"MDQ6VXNlcjE1NDYzMjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1546326?v=4","gravatar_id":"","url":"https://api.github.com/users/jujaga","html_url":"https://github.com/jujaga","followers_url":"https://api.github.com/users/jujaga/followers","following_url":"https://api.github.com/users/jujaga/following{/other_user}","gists_url":"https://api.github.com/users/jujaga/gists{/gist_id}","starred_url":"https://api.github.com/users/jujaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jujaga/subscriptions","organizations_url":"https://api.github.com/users/jujaga/orgs","repos_url":"https://api.github.com/users/jujaga/repos","events_url":"https://api.github.com/users/jujaga/events{/privacy}","received_events_url":"https://api.github.com/users/jujaga/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84/commits","review_comments_url":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84/comments","review_comment_url":"https://api.github.com/repos/bcgov/nr-get-token/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcgov/nr-get-token/issues/84/comments","statuses_url":"https://api.github.com/repos/bcgov/nr-get-token/statuses/82494932d4b58f52ffb7c7524becedda7658ec3a","head":{"label":"loneil:feature/getAppConfig","ref":"feature/getAppConfig","sha":"82494932d4b58f52ffb7c7524becedda7658ec3a","user":{"login":"loneil","id":17445138,"node_id":"MDQ6VXNlcjE3NDQ1MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/17445138?v=4","gravatar_id":"","url":"https://api.github.com/users/loneil","html_url":"https://github.com/loneil","followers_url":"https://api.github.com/users/loneil/followers","following_url":"https://api.github.com/users/loneil/following{/other_user}","gists_url":"https://api.github.com/users/loneil/gists{/gist_id}","starred_url":"https://api.github.com/users/loneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loneil/subscriptions","organizations_url":"https://api.github.com/users/loneil/orgs","repos_url":"https://api.github.com/users/loneil/repos","events_url":"https://api.github.com/users/loneil/events{/privacy}","received_events_url":"https://api.github.com/users/loneil/received_events","type":"User","site_admin":false},"repo":{"id":181778584,"node_id":"MDEwOlJlcG9zaXRvcnkxODE3Nzg1ODQ=","name":"nr-get-token","full_name":"loneil/nr-get-token","private":false,"owner":{"login":"loneil","id":17445138,"node_id":"MDQ6VXNlcjE3NDQ1MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/17445138?v=4","gravatar_id":"","url":"https://api.github.com/users/loneil","html_url":"https://github.com/loneil","followers_url":"https://api.github.com/users/loneil/followers","following_url":"https://api.github.com/users/loneil/following{/other_user}","gists_url":"https://api.github.com/users/loneil/gists{/gist_id}","starred_url":"https://api.github.com/users/loneil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loneil/subscriptions","organizations_url":"https://api.github.com/users/loneil/orgs","repos_url":"https://api.github.com/users/loneil/repos","events_url":"https://api.github.com/users/loneil/events{/privacy}","received_events_url":"https://api.github.com/users/loneil/received_events","type":"User","site_admin":false},"html_url":"https://github.com/loneil/nr-get-token","description":"This tool will automate the process for getting setup to use common services published on https://apistore.nrs.gov.bc.ca/store/","fork":true,"url":"https://api.github.com/repos/loneil/nr-get-token","forks_url":"https://api.github.com/repos/loneil/nr-get-token/forks","keys_url":"https://api.github.com/repos/loneil/nr-get-token/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loneil/nr-get-token/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loneil/nr-get-token/teams","hooks_url":"https://api.github.com/repos/loneil/nr-get-token/hooks","issue_events_url":"https://api.github.com/repos/loneil/nr-get-token/issues/events{/number}","events_url":"https://api.github.com/repos/loneil/nr-get-token/events","assignees_url":"https://api.github.com/repos/loneil/nr-get-token/assignees{/user}","branches_url":"https://api.github.com/repos/loneil/nr-get-token/branches{/branch}","tags_url":"https://api.github.com/repos/loneil/nr-get-token/tags","blobs_url":"https://api.github.com/repos/loneil/nr-get-token/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loneil/nr-get-token/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loneil/nr-get-token/git/refs{/sha}","trees_url":"https://api.github.com/repos/loneil/nr-get-token/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loneil/nr-get-token/statuses/{sha}","languages_url":"https://api.github.com/repos/loneil/nr-get-token/languages","stargazers_url":"https://api.github.com/repos/loneil/nr-get-token/stargazers","contributors_url":"https://api.github.com/repos/loneil/nr-get-token/contributors","subscribers_url":"https://api.github.com/repos/loneil/nr-get-token/subscribers","subscription_url":"https://api.github.com/repos/loneil/nr-get-token/subscription","commits_url":"https://api.github.com/repos/loneil/nr-get-token/commits{/sha}","git_commits_url":"https://api.github.com/repos/loneil/nr-get-token/git/commits{/sha}","comments_url":"https://api.github.com/repos/loneil/nr-get-token/comments{/number}","issue_comment_url":"https://api.github.com/repos/loneil/nr-get-token/issues/comments{/number}","contents_url":"https://api.github.com/repos/loneil/nr-get-token/contents/{+path}","compare_url":"https://api.github.com/repos/loneil/nr-get-token/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loneil/nr-get-token/merges","archive_url":"https://api.github.com/repos/loneil/nr-get-token/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loneil/nr-get-token/downloads","issues_url":"https://api.github.com/repos/loneil/nr-get-token/issues{/number}","pulls_url":"https://api.github.com/repos/loneil/nr-get-token/pulls{/number}","milestones_url":"https://api.github.com/repos/loneil/nr-get-token/milestones{/number}","notifications_url":"https://api.github.com/repos/loneil/nr-get-token/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loneil/nr-get-token/labels{/name}","releases_url":"https://api.github.com/repos/loneil/nr-get-token/releases{/id}","deployments_url":"https://api.github.com/repos/loneil/nr-get-token/deployments","created_at":"2019-04-16T22:47:01Z","updated_at":"2019-06-13T19:05:56Z","pushed_at":"2019-08-21T20:08:24Z","git_url":"git://github.com/loneil/nr-get-token.git","ssh_url":"git@github.com:loneil/nr-get-token.git","clone_url":"https://github.com/loneil/nr-get-token.git","svn_url":"https://github.com/loneil/nr-get-token","homepage":null,"size":1390,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bcgov:master","ref":"master","sha":"002a67425312f3e8b0ac5e531c43f680cd9ef747","user":{"login":"bcgov","id":916280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/916280?v=4","gravatar_id":"","url":"https://api.github.com/users/bcgov","html_url":"https://github.com/bcgov","followers_url":"https://api.github.com/users/bcgov/followers","following_url":"https://api.github.com/users/bcgov/following{/other_user}","gists_url":"https://api.github.com/users/bcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/bcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcgov/subscriptions","organizations_url":"https://api.github.com/users/bcgov/orgs","repos_url":"https://api.github.com/users/bcgov/repos","events_url":"https://api.github.com/users/bcgov/events{/privacy}","received_events_url":"https://api.github.com/users/bcgov/received_events","type":"Organization","site_admin":false},"repo":{"id":178488237,"node_id":"MDEwOlJlcG9zaXRvcnkxNzg0ODgyMzc=","name":"nr-get-token","full_name":"bcgov/nr-get-token","private":false,"owner":{"login":"bcgov","id":916280,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/916280?v=4","gravatar_id":"","url":"https://api.github.com/users/bcgov","html_url":"https://github.com/bcgov","followers_url":"https://api.github.com/users/bcgov/followers","following_url":"https://api.github.com/users/bcgov/following{/other_user}","gists_url":"https://api.github.com/users/bcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/bcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcgov/subscriptions","organizations_url":"https://api.github.com/users/bcgov/orgs","repos_url":"https://api.github.com/users/bcgov/repos","events_url":"https://api.github.com/users/bcgov/events{/privacy}","received_events_url":"https://api.github.com/users/bcgov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bcgov/nr-get-token","description":"This tool will automate the process for getting setup to use common services published on https://apistore.nrs.gov.bc.ca/store/","fork":false,"url":"https://api.github.com/repos/bcgov/nr-get-token","forks_url":"https://api.github.com/repos/bcgov/nr-get-token/forks","keys_url":"https://api.github.com/repos/bcgov/nr-get-token/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcgov/nr-get-token/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcgov/nr-get-token/teams","hooks_url":"https://api.github.com/repos/bcgov/nr-get-token/hooks","issue_events_url":"https://api.github.com/repos/bcgov/nr-get-token/issues/events{/number}","events_url":"https://api.github.com/repos/bcgov/nr-get-token/events","assignees_url":"https://api.github.com/repos/bcgov/nr-get-token/assignees{/user}","branches_url":"https://api.github.com/repos/bcgov/nr-get-token/branches{/branch}","tags_url":"https://api.github.com/repos/bcgov/nr-get-token/tags","blobs_url":"https://api.github.com/repos/bcgov/nr-get-token/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcgov/nr-get-token/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcgov/nr-get-token/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcgov/nr-get-token/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcgov/nr-get-token/statuses/{sha}","languages_url":"https://api.github.com/repos/bcgov/nr-get-token/languages","stargazers_url":"https://api.github.com/repos/bcgov/nr-get-token/stargazers","contributors_url":"https://api.github.com/repos/bcgov/nr-get-token/contributors","subscribers_url":"https://api.github.com/repos/bcgov/nr-get-token/subscribers","subscription_url":"https://api.github.com/repos/bcgov/nr-get-token/subscription","commits_url":"https://api.github.com/repos/bcgov/nr-get-token/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcgov/nr-get-token/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcgov/nr-get-token/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcgov/nr-get-token/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcgov/nr-get-token/contents/{+path}","compare_url":"https://api.github.com/repos/bcgov/nr-get-token/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcgov/nr-get-token/merges","archive_url":"https://api.github.com/repos/bcgov/nr-get-token/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcgov/nr-get-token/downloads","issues_url":"https://api.github.com/repos/bcgov/nr-get-token/issues{/number}","pulls_url":"https://api.github.com/repos/bcgov/nr-get-token/pulls{/number}","milestones_url":"https://api.github.com/repos/bcgov/nr-get-token/milestones{/number}","notifications_url":"https://api.github.com/repos/bcgov/nr-get-token/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcgov/nr-get-token/labels{/name}","releases_url":"https://api.github.com/repos/bcgov/nr-get-token/releases{/id}","deployments_url":"https://api.github.com/repos/bcgov/nr-get-token/deployments","created_at":"2019-03-29T23:33:57Z","updated_at":"2019-08-21T19:54:28Z","pushed_at":"2019-08-21T20:08:26Z","git_url":"git://github.com/bcgov/nr-get-token.git","ssh_url":"git@github.com:bcgov/nr-get-token.git","clone_url":"https://github.com/bcgov/nr-get-token.git","svn_url":"https://github.com/bcgov/nr-get-token","homepage":null,"size":1401,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84"},"html":{"href":"https://github.com/bcgov/nr-get-token/pull/84"},"issue":{"href":"https://api.github.com/repos/bcgov/nr-get-token/issues/84"},"comments":{"href":"https://api.github.com/repos/bcgov/nr-get-token/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/bcgov/nr-get-token/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcgov/nr-get-token/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/bcgov/nr-get-token/statuses/82494932d4b58f52ffb7c7524becedda7658ec3a"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"parc-jason"}}