{"action":"created","issue":{"url":"https://api.github.com/repos/cyverse-de/ui/issues/156","repository_url":"https://api.github.com/repos/cyverse-de/ui","labels_url":"https://api.github.com/repos/cyverse-de/ui/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/cyverse-de/ui/issues/156/comments","events_url":"https://api.github.com/repos/cyverse-de/ui/issues/156/events","html_url":"https://github.com/cyverse-de/ui/pull/156","id":236349545,"number":156,"title":"Patch up NPEs and fix dummy subject creation for anonymous user","user":{"login":"ash3rz","id":8909156,"avatar_url":"https://avatars3.githubusercontent.com/u/8909156?v=3","gravatar_id":"","url":"https://api.github.com/users/ash3rz","html_url":"https://github.com/ash3rz","followers_url":"https://api.github.com/users/ash3rz/followers","following_url":"https://api.github.com/users/ash3rz/following{/other_user}","gists_url":"https://api.github.com/users/ash3rz/gists{/gist_id}","starred_url":"https://api.github.com/users/ash3rz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash3rz/subscriptions","organizations_url":"https://api.github.com/users/ash3rz/orgs","repos_url":"https://api.github.com/users/ash3rz/repos","events_url":"https://api.github.com/users/ash3rz/events{/privacy}","received_events_url":"https://api.github.com/users/ash3rz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-16T00:31:50Z","updated_at":"2017-06-16T16:35:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cyverse-de/ui/pulls/156","html_url":"https://github.com/cyverse-de/ui/pull/156","diff_url":"https://github.com/cyverse-de/ui/pull/156.diff","patch_url":"https://github.com/cyverse-de/ui/pull/156.patch"},"body":"When the UI looks up sharing info, it first gets a list of usernames that have permissions on the resource.  Once that's returned, then a secondary call is made to look up the user information to be able to display the user's name.  In the case of the anonymous user, the secondary call returns no information because that user doesn't exist in grouper, so the UI creates a \"dummy\" collaborator to display.  The UI has been updated to create a dummy collaborator where the username is both the id and the name.  The username is then what is displayed in the UI for that particular case."},"comment":{"url":"https://api.github.com/repos/cyverse-de/ui/issues/comments/309073635","html_url":"https://github.com/cyverse-de/ui/pull/156#issuecomment-309073635","issue_url":"https://api.github.com/repos/cyverse-de/ui/issues/156","id":309073635,"user":{"login":"ash3rz","id":8909156,"avatar_url":"https://avatars3.githubusercontent.com/u/8909156?v=3","gravatar_id":"","url":"https://api.github.com/users/ash3rz","html_url":"https://github.com/ash3rz","followers_url":"https://api.github.com/users/ash3rz/followers","following_url":"https://api.github.com/users/ash3rz/following{/other_user}","gists_url":"https://api.github.com/users/ash3rz/gists{/gist_id}","starred_url":"https://api.github.com/users/ash3rz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash3rz/subscriptions","organizations_url":"https://api.github.com/users/ash3rz/orgs","repos_url":"https://api.github.com/users/ash3rz/repos","events_url":"https://api.github.com/users/ash3rz/events{/privacy}","received_events_url":"https://api.github.com/users/ash3rz/received_events","type":"User","site_admin":false},"created_at":"2017-06-16T16:35:40Z","updated_at":"2017-06-16T16:35:40Z","body":"Thanks for the review! 😄 "}}
{"actor":{"display_login":"ash3rz"}}