{"action":"created","comment":{"url":"https://api.github.com/repos/tablexi/nucore-open/pulls/comments/29728723","id":29728723,"diff_hunk":"@@ -56,4 +57,8 @@ def load_price_group_and_ability!\n     @price_group = current_facility.price_groups.find(params[:price_group_id])\n     @price_group_ability = Ability.new(current_user, @price_group, self)\n   end\n+\n+  def authorize_price_group_member\n+    @price_group_ability.authorize! :create, PriceGroupMember","path":"app/controllers/concerns/price_group_members_controller.rb","position":14,"original_position":14,"commit_id":"e36cbfc1135470418ce3f224a7b41daaf73d4b12","original_commit_id":"e36cbfc1135470418ce3f224a7b41daaf73d4b12","user":{"login":"jdzak","id":8027,"avatar_url":"https://avatars.githubusercontent.com/u/8027?v=3","gravatar_id":"","url":"https://api.github.com/users/jdzak","html_url":"https://github.com/jdzak","followers_url":"https://api.github.com/users/jdzak/followers","following_url":"https://api.github.com/users/jdzak/following{/other_user}","gists_url":"https://api.github.com/users/jdzak/gists{/gist_id}","starred_url":"https://api.github.com/users/jdzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdzak/subscriptions","organizations_url":"https://api.github.com/users/jdzak/orgs","repos_url":"https://api.github.com/users/jdzak/repos","events_url":"https://api.github.com/users/jdzak/events{/privacy}","received_events_url":"https://api.github.com/users/jdzak/received_events","type":"User","site_admin":false},"body":"Whoops, I'll fix that. ","created_at":"2015-05-06T01:12:11Z","updated_at":"2015-05-06T01:12:11Z","html_url":"https://github.com/tablexi/nucore-open/pull/279#discussion_r29728723","pull_request_url":"https://api.github.com/repos/tablexi/nucore-open/pulls/279","_links":{"self":{"href":"https://api.github.com/repos/tablexi/nucore-open/pulls/comments/29728723"},"html":{"href":"https://github.com/tablexi/nucore-open/pull/279#discussion_r29728723"},"pull_request":{"href":"https://api.github.com/repos/tablexi/nucore-open/pulls/279"}}},"pull_request":{"url":"https://api.github.com/repos/tablexi/nucore-open/pulls/279","id":34330834,"html_url":"https://github.com/tablexi/nucore-open/pull/279","diff_url":"https://github.com/tablexi/nucore-open/pull/279.diff","patch_url":"https://github.com/tablexi/nucore-open/pull/279.patch","issue_url":"https://api.github.com/repos/tablexi/nucore-open/issues/279","number":279,"state":"open","locked":false,"title":"[#50175] Restrict global price group chart string changes","user":{"login":"jdzak","id":8027,"avatar_url":"https://avatars.githubusercontent.com/u/8027?v=3","gravatar_id":"","url":"https://api.github.com/users/jdzak","html_url":"https://github.com/jdzak","followers_url":"https://api.github.com/users/jdzak/followers","following_url":"https://api.github.com/users/jdzak/following{/other_user}","gists_url":"https://api.github.com/users/jdzak/gists{/gist_id}","starred_url":"https://api.github.com/users/jdzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdzak/subscriptions","organizations_url":"https://api.github.com/users/jdzak/orgs","repos_url":"https://api.github.com/users/jdzak/repos","events_url":"https://api.github.com/users/jdzak/events{/privacy}","received_events_url":"https://api.github.com/users/jdzak/received_events","type":"User","site_admin":false},"body":"This is work in progress PR just to get comments.\r\n\r\nhttps://pm.tablexi.com/issues/50175","created_at":"2015-04-29T03:16:47Z","updated_at":"2015-05-06T01:12:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5937c87e4929ff727611d3efebfb56b5680e046","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tablexi/nucore-open/pulls/279/commits","review_comments_url":"https://api.github.com/repos/tablexi/nucore-open/pulls/279/comments","review_comment_url":"https://api.github.com/repos/tablexi/nucore-open/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tablexi/nucore-open/issues/279/comments","statuses_url":"https://api.github.com/repos/tablexi/nucore-open/statuses/e36cbfc1135470418ce3f224a7b41daaf73d4b12","head":{"label":"tablexi:50175-restrict_price_group_chart_strings","ref":"50175-restrict_price_group_chart_strings","sha":"e36cbfc1135470418ce3f224a7b41daaf73d4b12","user":{"login":"tablexi","id":229702,"avatar_url":"https://avatars.githubusercontent.com/u/229702?v=3","gravatar_id":"","url":"https://api.github.com/users/tablexi","html_url":"https://github.com/tablexi","followers_url":"https://api.github.com/users/tablexi/followers","following_url":"https://api.github.com/users/tablexi/following{/other_user}","gists_url":"https://api.github.com/users/tablexi/gists{/gist_id}","starred_url":"https://api.github.com/users/tablexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tablexi/subscriptions","organizations_url":"https://api.github.com/users/tablexi/orgs","repos_url":"https://api.github.com/users/tablexi/repos","events_url":"https://api.github.com/users/tablexi/events{/privacy}","received_events_url":"https://api.github.com/users/tablexi/received_events","type":"Organization","site_admin":false},"repo":{"id":1439473,"name":"nucore-open","full_name":"tablexi/nucore-open","owner":{"login":"tablexi","id":229702,"avatar_url":"https://avatars.githubusercontent.com/u/229702?v=3","gravatar_id":"","url":"https://api.github.com/users/tablexi","html_url":"https://github.com/tablexi","followers_url":"https://api.github.com/users/tablexi/followers","following_url":"https://api.github.com/users/tablexi/following{/other_user}","gists_url":"https://api.github.com/users/tablexi/gists{/gist_id}","starred_url":"https://api.github.com/users/tablexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tablexi/subscriptions","organizations_url":"https://api.github.com/users/tablexi/orgs","repos_url":"https://api.github.com/users/tablexi/repos","events_url":"https://api.github.com/users/tablexi/events{/privacy}","received_events_url":"https://api.github.com/users/tablexi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tablexi/nucore-open","description":"Northwestern University Core Facility Management Software (NUCore)","fork":false,"url":"https://api.github.com/repos/tablexi/nucore-open","forks_url":"https://api.github.com/repos/tablexi/nucore-open/forks","keys_url":"https://api.github.com/repos/tablexi/nucore-open/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tablexi/nucore-open/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tablexi/nucore-open/teams","hooks_url":"https://api.github.com/repos/tablexi/nucore-open/hooks","issue_events_url":"https://api.github.com/repos/tablexi/nucore-open/issues/events{/number}","events_url":"https://api.github.com/repos/tablexi/nucore-open/events","assignees_url":"https://api.github.com/repos/tablexi/nucore-open/assignees{/user}","branches_url":"https://api.github.com/repos/tablexi/nucore-open/branches{/branch}","tags_url":"https://api.github.com/repos/tablexi/nucore-open/tags","blobs_url":"https://api.github.com/repos/tablexi/nucore-open/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tablexi/nucore-open/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tablexi/nucore-open/git/refs{/sha}","trees_url":"https://api.github.com/repos/tablexi/nucore-open/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tablexi/nucore-open/statuses/{sha}","languages_url":"https://api.github.com/repos/tablexi/nucore-open/languages","stargazers_url":"https://api.github.com/repos/tablexi/nucore-open/stargazers","contributors_url":"https://api.github.com/repos/tablexi/nucore-open/contributors","subscribers_url":"https://api.github.com/repos/tablexi/nucore-open/subscribers","subscription_url":"https://api.github.com/repos/tablexi/nucore-open/subscription","commits_url":"https://api.github.com/repos/tablexi/nucore-open/commits{/sha}","git_commits_url":"https://api.github.com/repos/tablexi/nucore-open/git/commits{/sha}","comments_url":"https://api.github.com/repos/tablexi/nucore-open/comments{/number}","issue_comment_url":"https://api.github.com/repos/tablexi/nucore-open/issues/comments{/number}","contents_url":"https://api.github.com/repos/tablexi/nucore-open/contents/{+path}","compare_url":"https://api.github.com/repos/tablexi/nucore-open/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tablexi/nucore-open/merges","archive_url":"https://api.github.com/repos/tablexi/nucore-open/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tablexi/nucore-open/downloads","issues_url":"https://api.github.com/repos/tablexi/nucore-open/issues{/number}","pulls_url":"https://api.github.com/repos/tablexi/nucore-open/pulls{/number}","milestones_url":"https://api.github.com/repos/tablexi/nucore-open/milestones{/number}","notifications_url":"https://api.github.com/repos/tablexi/nucore-open/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tablexi/nucore-open/labels{/name}","releases_url":"https://api.github.com/repos/tablexi/nucore-open/releases{/id}","created_at":"2011-03-04T13:45:37Z","updated_at":"2015-05-01T17:24:54Z","pushed_at":"2015-05-05T15:20:09Z","git_url":"git://github.com/tablexi/nucore-open.git","ssh_url":"git@github.com:tablexi/nucore-open.git","clone_url":"https://github.com/tablexi/nucore-open.git","svn_url":"https://github.com/tablexi/nucore-open","homepage":"","size":63717,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"tablexi:master","ref":"master","sha":"d46435855ad1bf743894180bd4392e2242dcc5f7","user":{"login":"tablexi","id":229702,"avatar_url":"https://avatars.githubusercontent.com/u/229702?v=3","gravatar_id":"","url":"https://api.github.com/users/tablexi","html_url":"https://github.com/tablexi","followers_url":"https://api.github.com/users/tablexi/followers","following_url":"https://api.github.com/users/tablexi/following{/other_user}","gists_url":"https://api.github.com/users/tablexi/gists{/gist_id}","starred_url":"https://api.github.com/users/tablexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tablexi/subscriptions","organizations_url":"https://api.github.com/users/tablexi/orgs","repos_url":"https://api.github.com/users/tablexi/repos","events_url":"https://api.github.com/users/tablexi/events{/privacy}","received_events_url":"https://api.github.com/users/tablexi/received_events","type":"Organization","site_admin":false},"repo":{"id":1439473,"name":"nucore-open","full_name":"tablexi/nucore-open","owner":{"login":"tablexi","id":229702,"avatar_url":"https://avatars.githubusercontent.com/u/229702?v=3","gravatar_id":"","url":"https://api.github.com/users/tablexi","html_url":"https://github.com/tablexi","followers_url":"https://api.github.com/users/tablexi/followers","following_url":"https://api.github.com/users/tablexi/following{/other_user}","gists_url":"https://api.github.com/users/tablexi/gists{/gist_id}","starred_url":"https://api.github.com/users/tablexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tablexi/subscriptions","organizations_url":"https://api.github.com/users/tablexi/orgs","repos_url":"https://api.github.com/users/tablexi/repos","events_url":"https://api.github.com/users/tablexi/events{/privacy}","received_events_url":"https://api.github.com/users/tablexi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tablexi/nucore-open","description":"Northwestern University Core Facility Management Software (NUCore)","fork":false,"url":"https://api.github.com/repos/tablexi/nucore-open","forks_url":"https://api.github.com/repos/tablexi/nucore-open/forks","keys_url":"https://api.github.com/repos/tablexi/nucore-open/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tablexi/nucore-open/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tablexi/nucore-open/teams","hooks_url":"https://api.github.com/repos/tablexi/nucore-open/hooks","issue_events_url":"https://api.github.com/repos/tablexi/nucore-open/issues/events{/number}","events_url":"https://api.github.com/repos/tablexi/nucore-open/events","assignees_url":"https://api.github.com/repos/tablexi/nucore-open/assignees{/user}","branches_url":"https://api.github.com/repos/tablexi/nucore-open/branches{/branch}","tags_url":"https://api.github.com/repos/tablexi/nucore-open/tags","blobs_url":"https://api.github.com/repos/tablexi/nucore-open/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tablexi/nucore-open/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tablexi/nucore-open/git/refs{/sha}","trees_url":"https://api.github.com/repos/tablexi/nucore-open/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tablexi/nucore-open/statuses/{sha}","languages_url":"https://api.github.com/repos/tablexi/nucore-open/languages","stargazers_url":"https://api.github.com/repos/tablexi/nucore-open/stargazers","contributors_url":"https://api.github.com/repos/tablexi/nucore-open/contributors","subscribers_url":"https://api.github.com/repos/tablexi/nucore-open/subscribers","subscription_url":"https://api.github.com/repos/tablexi/nucore-open/subscription","commits_url":"https://api.github.com/repos/tablexi/nucore-open/commits{/sha}","git_commits_url":"https://api.github.com/repos/tablexi/nucore-open/git/commits{/sha}","comments_url":"https://api.github.com/repos/tablexi/nucore-open/comments{/number}","issue_comment_url":"https://api.github.com/repos/tablexi/nucore-open/issues/comments{/number}","contents_url":"https://api.github.com/repos/tablexi/nucore-open/contents/{+path}","compare_url":"https://api.github.com/repos/tablexi/nucore-open/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tablexi/nucore-open/merges","archive_url":"https://api.github.com/repos/tablexi/nucore-open/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tablexi/nucore-open/downloads","issues_url":"https://api.github.com/repos/tablexi/nucore-open/issues{/number}","pulls_url":"https://api.github.com/repos/tablexi/nucore-open/pulls{/number}","milestones_url":"https://api.github.com/repos/tablexi/nucore-open/milestones{/number}","notifications_url":"https://api.github.com/repos/tablexi/nucore-open/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tablexi/nucore-open/labels{/name}","releases_url":"https://api.github.com/repos/tablexi/nucore-open/releases{/id}","created_at":"2011-03-04T13:45:37Z","updated_at":"2015-05-01T17:24:54Z","pushed_at":"2015-05-05T15:20:09Z","git_url":"git://github.com/tablexi/nucore-open.git","ssh_url":"git@github.com:tablexi/nucore-open.git","clone_url":"https://github.com/tablexi/nucore-open.git","svn_url":"https://github.com/tablexi/nucore-open","homepage":"","size":63717,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tablexi/nucore-open/pulls/279"},"html":{"href":"https://github.com/tablexi/nucore-open/pull/279"},"issue":{"href":"https://api.github.com/repos/tablexi/nucore-open/issues/279"},"comments":{"href":"https://api.github.com/repos/tablexi/nucore-open/issues/279/comments"},"review_comments":{"href":"https://api.github.com/repos/tablexi/nucore-open/pulls/279/comments"},"review_comment":{"href":"https://api.github.com/repos/tablexi/nucore-open/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tablexi/nucore-open/pulls/279/commits"},"statuses":{"href":"https://api.github.com/repos/tablexi/nucore-open/statuses/e36cbfc1135470418ce3f224a7b41daaf73d4b12"}}}}