{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/121288496","pull_request_review_id":43326217,"id":121288496,"diff_hunk":"@@ -0,0 +1,95 @@\n+<style>\n+  .oppia-static-graph .pannable-rect {\n+    cursor: move;\n+    fill: none;\n+    fill-opacity: 0;\n+    pointer-events: all;\n+  }\n+  .oppia-static-graph path.link {\n+    fill: none;\n+    stroke: rgb(179, 179, 179);\n+    stroke-width: 3px;\n+  }\n+  .oppia-static-graph text {\n+    font: 12px sans-serif;\n+    pointer-events: none;\n+  }\n+  .oppia-static-graph text.shadow {\n+    stroke: #fff;\n+    stroke-width: 3px;\n+    stroke-opacity: .8;\n+  }\n+  .oppia-static-graph .node rect {\n+    fill: #fff;\n+    pointer-events: all;\n+    stroke: rgb(0, 0, 0);\n+    -moz-transition: all 0.15s;\n+    -webkit-transition: all 0.15s;\n+    -o-transition: all 0.15s;\n+    transition: all 0.15s;\n+  }\n+  .oppia-static-graph .node rect.terminal-node {\n+    fill: green; /* terminal nodes are green to signify them */\n+  }\n+  .oppia-static-graph .node rect.bad-node {\n+    fill: #F35F55;\n+  }\n+  .oppia-static-graph .node rect.current-node:hover,\n+  .oppia-static-graph .node rect.init-node:hover,\n+  .oppia-static-graph .node rect.terminal-node:hover,\n+  .oppia-static-graph .node rect.bad-node:hover,\n+  .oppia-static-graph .node rect.normal-node:hover {\n+    fill: #C8C4C4;\n+  }\n+  .oppia-static-graph .clickable {\n+    cursor: pointer;\n+  }\n+  .oppia-static-graph .legend-bar {\n+    fill: url('#nodegradient');\n+    stroke: black;\n+    stroke-width: 0.5;\n+  }\n+\n+</style>\n+\n+<div style=\"height: <[getGraphHeightInPixels()]>px;\" ng-show=\"graphLoaded\">\n+\n+  <svg class=\"oppia-static-graph\" width=\"100%\" height=\"100%\">\n+        <g>\n+          <g>\n+            <g ng-repeat=\"link in augmentedLinks\">\n+              <path class=\"link protractor-test-link\" ng-if=\"link.d\" ng-attr-d=\"<[link.d]>\" marker-end=\"url(#arrowhead)\" ng-attr-style=\"<[link.style]>\">\n+              </path>\n+            </g>\n+\n+            <g class=\"node protractor-test-node\" ng-repeat=\"node in nodeList\">\n+              <rect rx=\"2\" ry=\"2\" ng-attr-height=\"<[node.height]>\" ng-attr-width=\"<[node.width]>\"\n+                    class=\"protractor-test-node-background <[node.nodeClass]>\"\n+                    ng-attr-x=\"<[node.x0]>\" ng-attr-y=\"<[node.y0]>\"\n+                    ng-class=\"{'clickable': canNavigateToNode(node.id)}\"\n+                    ng-attr-style=\"<[node.style]>\"\n+                    ng-click=\"onClickFunction(node.id)\">\n+              </rect>\n+              <title><[getNodeTitle(node)]></title>\n+              <text text-anchor=\"middle\" ng-attr-x=\"<[node.xLabel]>\" ng-attr-y=\"<[node.yLabel]>\" class=\"protractor-test-node-label\">\n+                <tspan alignment-baseline=\"central\"><[node.label]></tspan>","path":"core/templates/dev/head/components/static_graph_directive.html","position":75,"original_position":75,"commit_id":"c0a57fb765c9542a41908cbfe3a5137473db98bc","original_commit_id":"c0a57fb765c9542a41908cbfe3a5137473db98bc","user":{"login":"1995YogeshSharma","id":9693472,"avatar_url":"https://avatars1.githubusercontent.com/u/9693472?v=3","gravatar_id":"","url":"https://api.github.com/users/1995YogeshSharma","html_url":"https://github.com/1995YogeshSharma","followers_url":"https://api.github.com/users/1995YogeshSharma/followers","following_url":"https://api.github.com/users/1995YogeshSharma/following{/other_user}","gists_url":"https://api.github.com/users/1995YogeshSharma/gists{/gist_id}","starred_url":"https://api.github.com/users/1995YogeshSharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1995YogeshSharma/subscriptions","organizations_url":"https://api.github.com/users/1995YogeshSharma/orgs","repos_url":"https://api.github.com/users/1995YogeshSharma/repos","events_url":"https://api.github.com/users/1995YogeshSharma/events{/privacy}","received_events_url":"https://api.github.com/users/1995YogeshSharma/received_events","type":"User","site_admin":false},"body":"![image](https://user-images.githubusercontent.com/9693472/27013557-ada2e796-4f03-11e7-8543-f0fd5e9ee673.png)\r\nThis is the error shown on console on using getTruncatedLabel for roles graph. This means some dependency is unmet. But, when I searched for truncate or truncateFilter throughout the codebase, I didn't find anything helpful.","created_at":"2017-06-11T18:44:18Z","updated_at":"2017-06-11T18:44:18Z","html_url":"https://github.com/oppia/oppia/pull/3517#discussion_r121288496","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/3517","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/121288496"},"html":{"href":"https://github.com/oppia/oppia/pull/3517#discussion_r121288496"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3517"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/3517","id":124388972,"html_url":"https://github.com/oppia/oppia/pull/3517","diff_url":"https://github.com/oppia/oppia/pull/3517.diff","patch_url":"https://github.com/oppia/oppia/pull/3517.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/3517","number":3517,"state":"open","locked":false,"title":"SiteWide ACL: Milestone 1.2","user":{"login":"1995YogeshSharma","id":9693472,"avatar_url":"https://avatars1.githubusercontent.com/u/9693472?v=3","gravatar_id":"","url":"https://api.github.com/users/1995YogeshSharma","html_url":"https://github.com/1995YogeshSharma","followers_url":"https://api.github.com/users/1995YogeshSharma/followers","following_url":"https://api.github.com/users/1995YogeshSharma/following{/other_user}","gists_url":"https://api.github.com/users/1995YogeshSharma/gists{/gist_id}","starred_url":"https://api.github.com/users/1995YogeshSharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1995YogeshSharma/subscriptions","organizations_url":"https://api.github.com/users/1995YogeshSharma/orgs","repos_url":"https://api.github.com/users/1995YogeshSharma/repos","events_url":"https://api.github.com/users/1995YogeshSharma/events{/privacy}","received_events_url":"https://api.github.com/users/1995YogeshSharma/received_events","type":"User","site_admin":false},"body":"This PR implements the functionalities exposed to admin interface in new authorization system.\r\n\r\nlink to design doc: [Admin Ui and controller](https://docs.google.com/document/d/19Na2H3x12u4z7uXflJwRtDHclv0MfKiT2EbiWqExw1Q/edit?usp=sharing)\r\n\r\nAny changes made on roles from config tab will be reflected in the roles field so that both system remain in sync.\r\nBut changes made in roles tab are not reflected on lists in config domain, so I have added a note on top of Roles tab to not use that for updating roles in production yet.\r\n\r\nNote: \r\n- some tests remain to be added yet.\r\n- make changes for revert config properties remain.","created_at":"2017-06-07T10:41:52Z","updated_at":"2017-06-11T18:44:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99806a61cb10bb65612fd3c006c3d1ec451bfb9c","assignee":{"login":"wxyxinyu","id":5061134,"avatar_url":"https://avatars0.githubusercontent.com/u/5061134?v=3","gravatar_id":"","url":"https://api.github.com/users/wxyxinyu","html_url":"https://github.com/wxyxinyu","followers_url":"https://api.github.com/users/wxyxinyu/followers","following_url":"https://api.github.com/users/wxyxinyu/following{/other_user}","gists_url":"https://api.github.com/users/wxyxinyu/gists{/gist_id}","starred_url":"https://api.github.com/users/wxyxinyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wxyxinyu/subscriptions","organizations_url":"https://api.github.com/users/wxyxinyu/orgs","repos_url":"https://api.github.com/users/wxyxinyu/repos","events_url":"https://api.github.com/users/wxyxinyu/events{/privacy}","received_events_url":"https://api.github.com/users/wxyxinyu/received_events","type":"User","site_admin":false},"assignees":[{"login":"wxyxinyu","id":5061134,"avatar_url":"https://avatars0.githubusercontent.com/u/5061134?v=3","gravatar_id":"","url":"https://api.github.com/users/wxyxinyu","html_url":"https://github.com/wxyxinyu","followers_url":"https://api.github.com/users/wxyxinyu/followers","following_url":"https://api.github.com/users/wxyxinyu/following{/other_user}","gists_url":"https://api.github.com/users/wxyxinyu/gists{/gist_id}","starred_url":"https://api.github.com/users/wxyxinyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wxyxinyu/subscriptions","organizations_url":"https://api.github.com/users/wxyxinyu/orgs","repos_url":"https://api.github.com/users/wxyxinyu/repos","events_url":"https://api.github.com/users/wxyxinyu/events{/privacy}","received_events_url":"https://api.github.com/users/wxyxinyu/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/3517/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/3517/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/3517/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/c0a57fb765c9542a41908cbfe3a5137473db98bc","head":{"label":"1995YogeshSharma:milestone-1.2","ref":"milestone-1.2","sha":"c0a57fb765c9542a41908cbfe3a5137473db98bc","user":{"login":"1995YogeshSharma","id":9693472,"avatar_url":"https://avatars1.githubusercontent.com/u/9693472?v=3","gravatar_id":"","url":"https://api.github.com/users/1995YogeshSharma","html_url":"https://github.com/1995YogeshSharma","followers_url":"https://api.github.com/users/1995YogeshSharma/followers","following_url":"https://api.github.com/users/1995YogeshSharma/following{/other_user}","gists_url":"https://api.github.com/users/1995YogeshSharma/gists{/gist_id}","starred_url":"https://api.github.com/users/1995YogeshSharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1995YogeshSharma/subscriptions","organizations_url":"https://api.github.com/users/1995YogeshSharma/orgs","repos_url":"https://api.github.com/users/1995YogeshSharma/repos","events_url":"https://api.github.com/users/1995YogeshSharma/events{/privacy}","received_events_url":"https://api.github.com/users/1995YogeshSharma/received_events","type":"User","site_admin":false},"repo":{"id":81466647,"name":"oppia","full_name":"1995YogeshSharma/oppia","owner":{"login":"1995YogeshSharma","id":9693472,"avatar_url":"https://avatars1.githubusercontent.com/u/9693472?v=3","gravatar_id":"","url":"https://api.github.com/users/1995YogeshSharma","html_url":"https://github.com/1995YogeshSharma","followers_url":"https://api.github.com/users/1995YogeshSharma/followers","following_url":"https://api.github.com/users/1995YogeshSharma/following{/other_user}","gists_url":"https://api.github.com/users/1995YogeshSharma/gists{/gist_id}","starred_url":"https://api.github.com/users/1995YogeshSharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1995YogeshSharma/subscriptions","organizations_url":"https://api.github.com/users/1995YogeshSharma/orgs","repos_url":"https://api.github.com/users/1995YogeshSharma/repos","events_url":"https://api.github.com/users/1995YogeshSharma/events{/privacy}","received_events_url":"https://api.github.com/users/1995YogeshSharma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/1995YogeshSharma/oppia","description":"Tool for collaboratively building interactive lessons.","fork":true,"url":"https://api.github.com/repos/1995YogeshSharma/oppia","forks_url":"https://api.github.com/repos/1995YogeshSharma/oppia/forks","keys_url":"https://api.github.com/repos/1995YogeshSharma/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1995YogeshSharma/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1995YogeshSharma/oppia/teams","hooks_url":"https://api.github.com/repos/1995YogeshSharma/oppia/hooks","issue_events_url":"https://api.github.com/repos/1995YogeshSharma/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/1995YogeshSharma/oppia/events","assignees_url":"https://api.github.com/repos/1995YogeshSharma/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/1995YogeshSharma/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/1995YogeshSharma/oppia/tags","blobs_url":"https://api.github.com/repos/1995YogeshSharma/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1995YogeshSharma/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1995YogeshSharma/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/1995YogeshSharma/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1995YogeshSharma/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/1995YogeshSharma/oppia/languages","stargazers_url":"https://api.github.com/repos/1995YogeshSharma/oppia/stargazers","contributors_url":"https://api.github.com/repos/1995YogeshSharma/oppia/contributors","subscribers_url":"https://api.github.com/repos/1995YogeshSharma/oppia/subscribers","subscription_url":"https://api.github.com/repos/1995YogeshSharma/oppia/subscription","commits_url":"https://api.github.com/repos/1995YogeshSharma/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/1995YogeshSharma/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/1995YogeshSharma/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/1995YogeshSharma/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/1995YogeshSharma/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/1995YogeshSharma/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1995YogeshSharma/oppia/merges","archive_url":"https://api.github.com/repos/1995YogeshSharma/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1995YogeshSharma/oppia/downloads","issues_url":"https://api.github.com/repos/1995YogeshSharma/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/1995YogeshSharma/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/1995YogeshSharma/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/1995YogeshSharma/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1995YogeshSharma/oppia/labels{/name}","releases_url":"https://api.github.com/repos/1995YogeshSharma/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/1995YogeshSharma/oppia/deployments","created_at":"2017-02-09T15:50:27Z","updated_at":"2017-02-09T15:50:32Z","pushed_at":"2017-06-11T13:49:40Z","git_url":"git://github.com/1995YogeshSharma/oppia.git","ssh_url":"git@github.com:1995YogeshSharma/oppia.git","clone_url":"https://github.com/1995YogeshSharma/oppia.git","svn_url":"https://github.com/1995YogeshSharma/oppia","homepage":"https://www.oppia.org","size":52011,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"ae70fc1447cc8c2380e585f13e5c61fcc38232af","user":{"login":"oppia","id":11620230,"avatar_url":"https://avatars2.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"avatar_url":"https://avatars2.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2017-06-10T04:59:05Z","pushed_at":"2017-06-11T15:01:05Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":52172,"stargazers_count":318,"watchers_count":318,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":435,"mirror_url":null,"open_issues_count":351,"forks":435,"open_issues":351,"watchers":318,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3517"},"html":{"href":"https://github.com/oppia/oppia/pull/3517"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/3517"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/3517/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3517/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3517/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/c0a57fb765c9542a41908cbfe3a5137473db98bc"}}}}
{"actor":{"display_login":"1995YogeshSharma"}}