{"action":"created","comment":{"url":"https://api.github.com/repos/sagemathinc/smc/pulls/comments/89860300","pull_request_review_id":10391391,"id":89860300,"diff_hunk":"@@ -1994,14 +1994,24 @@ exports.ProjectFiles = rclass ({name}) ->\n                 style   = {error_style}\n                 onClose = {=>@props.actions.setState(error:'')} />\n \n-    render_not_public_error: ->\n-        if @props.redux.getStore('account').is_logged_in()\n-            <ErrorDisplay title=\"Directory is not public\" error={\"You are trying to access a non public project that you are not a collaborator on. You need to ask a collaborator of the project to add you.\"} />\n+    render_not_collaborator_error: ->","path":"src/smc-webapp/project_files.cjsx","position":7,"original_position":7,"commit_id":"d039d6d000df24f75c6234081055f310bb9dc2b8","original_commit_id":"d039d6d000df24f75c6234081055f310bb9dc2b8","user":{"login":"johnjeng","id":618575,"avatar_url":"https://avatars.githubusercontent.com/u/618575?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjeng","html_url":"https://github.com/johnjeng","followers_url":"https://api.github.com/users/johnjeng/followers","following_url":"https://api.github.com/users/johnjeng/following{/other_user}","gists_url":"https://api.github.com/users/johnjeng/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjeng/subscriptions","organizations_url":"https://api.github.com/users/johnjeng/orgs","repos_url":"https://api.github.com/users/johnjeng/repos","events_url":"https://api.github.com/users/johnjeng/events{/privacy}","received_events_url":"https://api.github.com/users/johnjeng/received_events","type":"User","site_admin":false},"body":"Name this something like `render_access_error` since it covers publicity and collaborator status.","created_at":"2016-11-28T19:24:27Z","updated_at":"2016-11-28T19:25:00Z","html_url":"https://github.com/sagemathinc/smc/pull/1299#discussion_r89860300","pull_request_url":"https://api.github.com/repos/sagemathinc/smc/pulls/1299","_links":{"self":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/comments/89860300"},"html":{"href":"https://github.com/sagemathinc/smc/pull/1299#discussion_r89860300"},"pull_request":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1299"}}},"pull_request":{"url":"https://api.github.com/repos/sagemathinc/smc/pulls/1299","id":95121298,"html_url":"https://github.com/sagemathinc/smc/pull/1299","diff_url":"https://github.com/sagemathinc/smc/pull/1299.diff","patch_url":"https://github.com/sagemathinc/smc/pull/1299.patch","issue_url":"https://api.github.com/repos/sagemathinc/smc/issues/1299","number":1299,"state":"open","locked":false,"title":"show an error if not collaborator","user":{"login":"timothyclemansinsea","id":12617436,"avatar_url":"https://avatars.githubusercontent.com/u/12617436?v=3","gravatar_id":"","url":"https://api.github.com/users/timothyclemansinsea","html_url":"https://github.com/timothyclemansinsea","followers_url":"https://api.github.com/users/timothyclemansinsea/followers","following_url":"https://api.github.com/users/timothyclemansinsea/following{/other_user}","gists_url":"https://api.github.com/users/timothyclemansinsea/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyclemansinsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyclemansinsea/subscriptions","organizations_url":"https://api.github.com/users/timothyclemansinsea/orgs","repos_url":"https://api.github.com/users/timothyclemansinsea/repos","events_url":"https://api.github.com/users/timothyclemansinsea/events{/privacy}","received_events_url":"https://api.github.com/users/timothyclemansinsea/received_events","type":"User","site_admin":false},"body":"For #1236","created_at":"2016-11-24T05:58:27Z","updated_at":"2016-11-28T19:25:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"180a01a2b99b66bfbe41769f6029d6eedcb24683","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sagemathinc/smc/pulls/1299/commits","review_comments_url":"https://api.github.com/repos/sagemathinc/smc/pulls/1299/comments","review_comment_url":"https://api.github.com/repos/sagemathinc/smc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sagemathinc/smc/issues/1299/comments","statuses_url":"https://api.github.com/repos/sagemathinc/smc/statuses/d039d6d000df24f75c6234081055f310bb9dc2b8","head":{"label":"timothyclemansinsea:upstream_issue_1236","ref":"upstream_issue_1236","sha":"d039d6d000df24f75c6234081055f310bb9dc2b8","user":{"login":"timothyclemansinsea","id":12617436,"avatar_url":"https://avatars.githubusercontent.com/u/12617436?v=3","gravatar_id":"","url":"https://api.github.com/users/timothyclemansinsea","html_url":"https://github.com/timothyclemansinsea","followers_url":"https://api.github.com/users/timothyclemansinsea/followers","following_url":"https://api.github.com/users/timothyclemansinsea/following{/other_user}","gists_url":"https://api.github.com/users/timothyclemansinsea/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyclemansinsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyclemansinsea/subscriptions","organizations_url":"https://api.github.com/users/timothyclemansinsea/orgs","repos_url":"https://api.github.com/users/timothyclemansinsea/repos","events_url":"https://api.github.com/users/timothyclemansinsea/events{/privacy}","received_events_url":"https://api.github.com/users/timothyclemansinsea/received_events","type":"User","site_admin":false},"repo":{"id":59337310,"name":"smc","full_name":"timothyclemansinsea/smc","owner":{"login":"timothyclemansinsea","id":12617436,"avatar_url":"https://avatars.githubusercontent.com/u/12617436?v=3","gravatar_id":"","url":"https://api.github.com/users/timothyclemansinsea","html_url":"https://github.com/timothyclemansinsea","followers_url":"https://api.github.com/users/timothyclemansinsea/followers","following_url":"https://api.github.com/users/timothyclemansinsea/following{/other_user}","gists_url":"https://api.github.com/users/timothyclemansinsea/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyclemansinsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyclemansinsea/subscriptions","organizations_url":"https://api.github.com/users/timothyclemansinsea/orgs","repos_url":"https://api.github.com/users/timothyclemansinsea/repos","events_url":"https://api.github.com/users/timothyclemansinsea/events{/privacy}","received_events_url":"https://api.github.com/users/timothyclemansinsea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timothyclemansinsea/smc","description":"SageMathCloud's complete current source code repository -- use SMC at ","fork":true,"url":"https://api.github.com/repos/timothyclemansinsea/smc","forks_url":"https://api.github.com/repos/timothyclemansinsea/smc/forks","keys_url":"https://api.github.com/repos/timothyclemansinsea/smc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timothyclemansinsea/smc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timothyclemansinsea/smc/teams","hooks_url":"https://api.github.com/repos/timothyclemansinsea/smc/hooks","issue_events_url":"https://api.github.com/repos/timothyclemansinsea/smc/issues/events{/number}","events_url":"https://api.github.com/repos/timothyclemansinsea/smc/events","assignees_url":"https://api.github.com/repos/timothyclemansinsea/smc/assignees{/user}","branches_url":"https://api.github.com/repos/timothyclemansinsea/smc/branches{/branch}","tags_url":"https://api.github.com/repos/timothyclemansinsea/smc/tags","blobs_url":"https://api.github.com/repos/timothyclemansinsea/smc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timothyclemansinsea/smc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timothyclemansinsea/smc/git/refs{/sha}","trees_url":"https://api.github.com/repos/timothyclemansinsea/smc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timothyclemansinsea/smc/statuses/{sha}","languages_url":"https://api.github.com/repos/timothyclemansinsea/smc/languages","stargazers_url":"https://api.github.com/repos/timothyclemansinsea/smc/stargazers","contributors_url":"https://api.github.com/repos/timothyclemansinsea/smc/contributors","subscribers_url":"https://api.github.com/repos/timothyclemansinsea/smc/subscribers","subscription_url":"https://api.github.com/repos/timothyclemansinsea/smc/subscription","commits_url":"https://api.github.com/repos/timothyclemansinsea/smc/commits{/sha}","git_commits_url":"https://api.github.com/repos/timothyclemansinsea/smc/git/commits{/sha}","comments_url":"https://api.github.com/repos/timothyclemansinsea/smc/comments{/number}","issue_comment_url":"https://api.github.com/repos/timothyclemansinsea/smc/issues/comments{/number}","contents_url":"https://api.github.com/repos/timothyclemansinsea/smc/contents/{+path}","compare_url":"https://api.github.com/repos/timothyclemansinsea/smc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timothyclemansinsea/smc/merges","archive_url":"https://api.github.com/repos/timothyclemansinsea/smc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timothyclemansinsea/smc/downloads","issues_url":"https://api.github.com/repos/timothyclemansinsea/smc/issues{/number}","pulls_url":"https://api.github.com/repos/timothyclemansinsea/smc/pulls{/number}","milestones_url":"https://api.github.com/repos/timothyclemansinsea/smc/milestones{/number}","notifications_url":"https://api.github.com/repos/timothyclemansinsea/smc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timothyclemansinsea/smc/labels{/name}","releases_url":"https://api.github.com/repos/timothyclemansinsea/smc/releases{/id}","deployments_url":"https://api.github.com/repos/timothyclemansinsea/smc/deployments","created_at":"2016-05-21T02:20:17Z","updated_at":"2016-05-21T02:20:19Z","pushed_at":"2016-11-26T05:55:31Z","git_url":"git://github.com/timothyclemansinsea/smc.git","ssh_url":"git@github.com:timothyclemansinsea/smc.git","clone_url":"https://github.com/timothyclemansinsea/smc.git","svn_url":"https://github.com/timothyclemansinsea/smc","homepage":"https://cloud.sagemath.com","size":172298,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"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":"master"}},"base":{"label":"sagemathinc:master","ref":"master","sha":"a8db0561ec151fe63bc3057e2941b8234360ba20","user":{"login":"sagemathinc","id":11307305,"avatar_url":"https://avatars.githubusercontent.com/u/11307305?v=3","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"repo":{"id":32500369,"name":"smc","full_name":"sagemathinc/smc","owner":{"login":"sagemathinc","id":11307305,"avatar_url":"https://avatars.githubusercontent.com/u/11307305?v=3","gravatar_id":"","url":"https://api.github.com/users/sagemathinc","html_url":"https://github.com/sagemathinc","followers_url":"https://api.github.com/users/sagemathinc/followers","following_url":"https://api.github.com/users/sagemathinc/following{/other_user}","gists_url":"https://api.github.com/users/sagemathinc/gists{/gist_id}","starred_url":"https://api.github.com/users/sagemathinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagemathinc/subscriptions","organizations_url":"https://api.github.com/users/sagemathinc/orgs","repos_url":"https://api.github.com/users/sagemathinc/repos","events_url":"https://api.github.com/users/sagemathinc/events{/privacy}","received_events_url":"https://api.github.com/users/sagemathinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sagemathinc/smc","description":"SageMathCloud's complete current source code repository -- use SMC at ","fork":false,"url":"https://api.github.com/repos/sagemathinc/smc","forks_url":"https://api.github.com/repos/sagemathinc/smc/forks","keys_url":"https://api.github.com/repos/sagemathinc/smc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sagemathinc/smc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sagemathinc/smc/teams","hooks_url":"https://api.github.com/repos/sagemathinc/smc/hooks","issue_events_url":"https://api.github.com/repos/sagemathinc/smc/issues/events{/number}","events_url":"https://api.github.com/repos/sagemathinc/smc/events","assignees_url":"https://api.github.com/repos/sagemathinc/smc/assignees{/user}","branches_url":"https://api.github.com/repos/sagemathinc/smc/branches{/branch}","tags_url":"https://api.github.com/repos/sagemathinc/smc/tags","blobs_url":"https://api.github.com/repos/sagemathinc/smc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sagemathinc/smc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sagemathinc/smc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sagemathinc/smc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sagemathinc/smc/statuses/{sha}","languages_url":"https://api.github.com/repos/sagemathinc/smc/languages","stargazers_url":"https://api.github.com/repos/sagemathinc/smc/stargazers","contributors_url":"https://api.github.com/repos/sagemathinc/smc/contributors","subscribers_url":"https://api.github.com/repos/sagemathinc/smc/subscribers","subscription_url":"https://api.github.com/repos/sagemathinc/smc/subscription","commits_url":"https://api.github.com/repos/sagemathinc/smc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sagemathinc/smc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sagemathinc/smc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sagemathinc/smc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sagemathinc/smc/contents/{+path}","compare_url":"https://api.github.com/repos/sagemathinc/smc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sagemathinc/smc/merges","archive_url":"https://api.github.com/repos/sagemathinc/smc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sagemathinc/smc/downloads","issues_url":"https://api.github.com/repos/sagemathinc/smc/issues{/number}","pulls_url":"https://api.github.com/repos/sagemathinc/smc/pulls{/number}","milestones_url":"https://api.github.com/repos/sagemathinc/smc/milestones{/number}","notifications_url":"https://api.github.com/repos/sagemathinc/smc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sagemathinc/smc/labels{/name}","releases_url":"https://api.github.com/repos/sagemathinc/smc/releases{/id}","deployments_url":"https://api.github.com/repos/sagemathinc/smc/deployments","created_at":"2015-03-19T04:16:53Z","updated_at":"2016-11-24T18:37:25Z","pushed_at":"2016-11-28T17:46:17Z","git_url":"git://github.com/sagemathinc/smc.git","ssh_url":"git@github.com:sagemathinc/smc.git","clone_url":"https://github.com/sagemathinc/smc.git","svn_url":"https://github.com/sagemathinc/smc","homepage":"https://cloud.sagemath.com","size":173004,"stargazers_count":246,"watchers_count":246,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":397,"forks":51,"open_issues":397,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1299"},"html":{"href":"https://github.com/sagemathinc/smc/pull/1299"},"issue":{"href":"https://api.github.com/repos/sagemathinc/smc/issues/1299"},"comments":{"href":"https://api.github.com/repos/sagemathinc/smc/issues/1299/comments"},"review_comments":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1299/comments"},"review_comment":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sagemathinc/smc/pulls/1299/commits"},"statuses":{"href":"https://api.github.com/repos/sagemathinc/smc/statuses/d039d6d000df24f75c6234081055f310bb9dc2b8"}}}}
{"actor":{"display_login":"johnjeng"}}