{"action":"created","comment":{"url":"https://api.github.com/repos/pmcguane/barista/pulls/comments/65060785","id":65060785,"diff_hunk":"@@ -0,0 +1,36 @@\n+- title 'Security: Roles'\n+.mdl-grid\n+  .mdl-cell.mdl-cell--12-col\n+    = link_to 'New Role', new_role_path, :class => 'mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect'\n+  .mdl-cell.mdl-cell--12-col\n+    %table.mdl-data-table.mdl-js-data-table.mdl-data-table--selectable.mdl-shadow--2dp\n+      %thead\n+        %tr\n+          %th.mdl-data-table__cell--non-numeric Name\n+          %th.mdl-data-table__cell--non-numeric Inherits from\n+          %th.mdl-data-table__cell--non-numeric Description\n+          %th.mdl-data-table__cell--non-numeric Permissions\n+          %th.mdl-data-table__cell--non-numeric User Groups\n+          %th\n+      %tbody\n+        - @roles.each do |role|\n+          %tr\n+            %td.mdl-data-table__cell--non-numeric= link_to role.name, role_path(role)\n+            %td.mdl-data-table__cell--non-numeric\n+              - if role.parent.present?\n+                = link_to role.parent.name, role_path(role.parent)\n+            %td.mdl-data-table__cell--non-numeric= role.description\n+            %td.mdl-data-table__cell--non-numeric= role.capabilities.size\n+            %td.mdl-data-table__cell--non-numeric= role.user_groups.size\n+            %td.mdl-data-table__cell--non-numeric{:align => \"right\"}\n+              = link_to edit_role_path(role) do\n+                %i.fa.fa-pencil\n+              = link_to role_path(role), method: :delete, data: {confirm: \"Do you confirm deleting #{role.name}?\"}, class: \"text-danger\" do\n+                %i.fa.fa-trash-o\n+\n+                -#            <%= render 'strongbolt/menu', current: 'roles' %>\n+                -#\n+                -#<div class=\"pull-right\">\n+                -#  <%= link_to \"New Role\", new_role_path, class: 'btn btn-default' %>\n+                -#</div>","path":"app/views/strongbolt/roles/index.html.haml","position":35,"original_position":35,"commit_id":"300fc5d992719c322745cf51d55fc5c5f33223da","original_commit_id":"300fc5d992719c322745cf51d55fc5c5f33223da","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Comment should have a space after the `#`","created_at":"2016-05-30T11:45:23Z","updated_at":"2016-05-30T11:45:23Z","html_url":"https://github.com/pmcguane/barista/pull/8#discussion_r65060785","pull_request_url":"https://api.github.com/repos/pmcguane/barista/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/pmcguane/barista/pulls/comments/65060785"},"html":{"href":"https://github.com/pmcguane/barista/pull/8#discussion_r65060785"},"pull_request":{"href":"https://api.github.com/repos/pmcguane/barista/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/pmcguane/barista/pulls/8","id":70964837,"html_url":"https://github.com/pmcguane/barista/pull/8","diff_url":"https://github.com/pmcguane/barista/pull/8.diff","patch_url":"https://github.com/pmcguane/barista/pull/8.patch","issue_url":"https://api.github.com/repos/pmcguane/barista/issues/8","number":8,"state":"open","locked":false,"title":"standard location names","user":{"login":"pmcguane","id":1862557,"avatar_url":"https://avatars.githubusercontent.com/u/1862557?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcguane","html_url":"https://github.com/pmcguane","followers_url":"https://api.github.com/users/pmcguane/followers","following_url":"https://api.github.com/users/pmcguane/following{/other_user}","gists_url":"https://api.github.com/users/pmcguane/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcguane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcguane/subscriptions","organizations_url":"https://api.github.com/users/pmcguane/orgs","repos_url":"https://api.github.com/users/pmcguane/repos","events_url":"https://api.github.com/users/pmcguane/events{/privacy}","received_events_url":"https://api.github.com/users/pmcguane/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-22T01:04:35Z","updated_at":"2016-05-30T11:45:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"739b384f53a340b1035a8b588cea5ad1ea88a980","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pmcguane/barista/pulls/8/commits","review_comments_url":"https://api.github.com/repos/pmcguane/barista/pulls/8/comments","review_comment_url":"https://api.github.com/repos/pmcguane/barista/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pmcguane/barista/issues/8/comments","statuses_url":"https://api.github.com/repos/pmcguane/barista/statuses/300fc5d992719c322745cf51d55fc5c5f33223da","head":{"label":"pmcguane:master","ref":"master","sha":"300fc5d992719c322745cf51d55fc5c5f33223da","user":{"login":"pmcguane","id":1862557,"avatar_url":"https://avatars.githubusercontent.com/u/1862557?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcguane","html_url":"https://github.com/pmcguane","followers_url":"https://api.github.com/users/pmcguane/followers","following_url":"https://api.github.com/users/pmcguane/following{/other_user}","gists_url":"https://api.github.com/users/pmcguane/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcguane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcguane/subscriptions","organizations_url":"https://api.github.com/users/pmcguane/orgs","repos_url":"https://api.github.com/users/pmcguane/repos","events_url":"https://api.github.com/users/pmcguane/events{/privacy}","received_events_url":"https://api.github.com/users/pmcguane/received_events","type":"User","site_admin":false},"repo":{"id":41617616,"name":"barista","full_name":"pmcguane/barista","owner":{"login":"pmcguane","id":1862557,"avatar_url":"https://avatars.githubusercontent.com/u/1862557?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcguane","html_url":"https://github.com/pmcguane","followers_url":"https://api.github.com/users/pmcguane/followers","following_url":"https://api.github.com/users/pmcguane/following{/other_user}","gists_url":"https://api.github.com/users/pmcguane/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcguane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcguane/subscriptions","organizations_url":"https://api.github.com/users/pmcguane/orgs","repos_url":"https://api.github.com/users/pmcguane/repos","events_url":"https://api.github.com/users/pmcguane/events{/privacy}","received_events_url":"https://api.github.com/users/pmcguane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmcguane/barista","description":"Ruby on Rails side of the Coffee App","fork":false,"url":"https://api.github.com/repos/pmcguane/barista","forks_url":"https://api.github.com/repos/pmcguane/barista/forks","keys_url":"https://api.github.com/repos/pmcguane/barista/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmcguane/barista/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmcguane/barista/teams","hooks_url":"https://api.github.com/repos/pmcguane/barista/hooks","issue_events_url":"https://api.github.com/repos/pmcguane/barista/issues/events{/number}","events_url":"https://api.github.com/repos/pmcguane/barista/events","assignees_url":"https://api.github.com/repos/pmcguane/barista/assignees{/user}","branches_url":"https://api.github.com/repos/pmcguane/barista/branches{/branch}","tags_url":"https://api.github.com/repos/pmcguane/barista/tags","blobs_url":"https://api.github.com/repos/pmcguane/barista/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmcguane/barista/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmcguane/barista/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmcguane/barista/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmcguane/barista/statuses/{sha}","languages_url":"https://api.github.com/repos/pmcguane/barista/languages","stargazers_url":"https://api.github.com/repos/pmcguane/barista/stargazers","contributors_url":"https://api.github.com/repos/pmcguane/barista/contributors","subscribers_url":"https://api.github.com/repos/pmcguane/barista/subscribers","subscription_url":"https://api.github.com/repos/pmcguane/barista/subscription","commits_url":"https://api.github.com/repos/pmcguane/barista/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmcguane/barista/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmcguane/barista/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmcguane/barista/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmcguane/barista/contents/{+path}","compare_url":"https://api.github.com/repos/pmcguane/barista/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmcguane/barista/merges","archive_url":"https://api.github.com/repos/pmcguane/barista/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmcguane/barista/downloads","issues_url":"https://api.github.com/repos/pmcguane/barista/issues{/number}","pulls_url":"https://api.github.com/repos/pmcguane/barista/pulls{/number}","milestones_url":"https://api.github.com/repos/pmcguane/barista/milestones{/number}","notifications_url":"https://api.github.com/repos/pmcguane/barista/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmcguane/barista/labels{/name}","releases_url":"https://api.github.com/repos/pmcguane/barista/releases{/id}","deployments_url":"https://api.github.com/repos/pmcguane/barista/deployments","created_at":"2015-08-30T05:19:14Z","updated_at":"2016-05-28T07:44:47Z","pushed_at":"2016-05-30T11:44:55Z","git_url":"git://github.com/pmcguane/barista.git","ssh_url":"git@github.com:pmcguane/barista.git","clone_url":"https://github.com/pmcguane/barista.git","svn_url":"https://github.com/pmcguane/barista","homepage":null,"size":17166,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"pmcguane:hound","ref":"hound","sha":"aab3bb86c1f3c4b3d9cd46f397f6baae8b141905","user":{"login":"pmcguane","id":1862557,"avatar_url":"https://avatars.githubusercontent.com/u/1862557?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcguane","html_url":"https://github.com/pmcguane","followers_url":"https://api.github.com/users/pmcguane/followers","following_url":"https://api.github.com/users/pmcguane/following{/other_user}","gists_url":"https://api.github.com/users/pmcguane/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcguane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcguane/subscriptions","organizations_url":"https://api.github.com/users/pmcguane/orgs","repos_url":"https://api.github.com/users/pmcguane/repos","events_url":"https://api.github.com/users/pmcguane/events{/privacy}","received_events_url":"https://api.github.com/users/pmcguane/received_events","type":"User","site_admin":false},"repo":{"id":41617616,"name":"barista","full_name":"pmcguane/barista","owner":{"login":"pmcguane","id":1862557,"avatar_url":"https://avatars.githubusercontent.com/u/1862557?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcguane","html_url":"https://github.com/pmcguane","followers_url":"https://api.github.com/users/pmcguane/followers","following_url":"https://api.github.com/users/pmcguane/following{/other_user}","gists_url":"https://api.github.com/users/pmcguane/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcguane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcguane/subscriptions","organizations_url":"https://api.github.com/users/pmcguane/orgs","repos_url":"https://api.github.com/users/pmcguane/repos","events_url":"https://api.github.com/users/pmcguane/events{/privacy}","received_events_url":"https://api.github.com/users/pmcguane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmcguane/barista","description":"Ruby on Rails side of the Coffee App","fork":false,"url":"https://api.github.com/repos/pmcguane/barista","forks_url":"https://api.github.com/repos/pmcguane/barista/forks","keys_url":"https://api.github.com/repos/pmcguane/barista/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmcguane/barista/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmcguane/barista/teams","hooks_url":"https://api.github.com/repos/pmcguane/barista/hooks","issue_events_url":"https://api.github.com/repos/pmcguane/barista/issues/events{/number}","events_url":"https://api.github.com/repos/pmcguane/barista/events","assignees_url":"https://api.github.com/repos/pmcguane/barista/assignees{/user}","branches_url":"https://api.github.com/repos/pmcguane/barista/branches{/branch}","tags_url":"https://api.github.com/repos/pmcguane/barista/tags","blobs_url":"https://api.github.com/repos/pmcguane/barista/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmcguane/barista/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmcguane/barista/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmcguane/barista/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmcguane/barista/statuses/{sha}","languages_url":"https://api.github.com/repos/pmcguane/barista/languages","stargazers_url":"https://api.github.com/repos/pmcguane/barista/stargazers","contributors_url":"https://api.github.com/repos/pmcguane/barista/contributors","subscribers_url":"https://api.github.com/repos/pmcguane/barista/subscribers","subscription_url":"https://api.github.com/repos/pmcguane/barista/subscription","commits_url":"https://api.github.com/repos/pmcguane/barista/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmcguane/barista/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmcguane/barista/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmcguane/barista/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmcguane/barista/contents/{+path}","compare_url":"https://api.github.com/repos/pmcguane/barista/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmcguane/barista/merges","archive_url":"https://api.github.com/repos/pmcguane/barista/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmcguane/barista/downloads","issues_url":"https://api.github.com/repos/pmcguane/barista/issues{/number}","pulls_url":"https://api.github.com/repos/pmcguane/barista/pulls{/number}","milestones_url":"https://api.github.com/repos/pmcguane/barista/milestones{/number}","notifications_url":"https://api.github.com/repos/pmcguane/barista/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmcguane/barista/labels{/name}","releases_url":"https://api.github.com/repos/pmcguane/barista/releases{/id}","deployments_url":"https://api.github.com/repos/pmcguane/barista/deployments","created_at":"2015-08-30T05:19:14Z","updated_at":"2016-05-28T07:44:47Z","pushed_at":"2016-05-30T11:44:55Z","git_url":"git://github.com/pmcguane/barista.git","ssh_url":"git@github.com:pmcguane/barista.git","clone_url":"https://github.com/pmcguane/barista.git","svn_url":"https://github.com/pmcguane/barista","homepage":null,"size":17166,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pmcguane/barista/pulls/8"},"html":{"href":"https://github.com/pmcguane/barista/pull/8"},"issue":{"href":"https://api.github.com/repos/pmcguane/barista/issues/8"},"comments":{"href":"https://api.github.com/repos/pmcguane/barista/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/pmcguane/barista/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/pmcguane/barista/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pmcguane/barista/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/pmcguane/barista/statuses/300fc5d992719c322745cf51d55fc5c5f33223da"}}}}
{"actor":{"display_login":"houndci-bot"}}