{"action":"created","issue":{"url":"https://api.github.com/repos/google/ggrc-core/issues/3325","labels_url":"https://api.github.com/repos/google/ggrc-core/issues/3325/labels{/name}","comments_url":"https://api.github.com/repos/google/ggrc-core/issues/3325/comments","events_url":"https://api.github.com/repos/google/ggrc-core/issues/3325/events","html_url":"https://github.com/google/ggrc-core/pull/3325","id":119223642,"number":3325,"title":"CORE-2859 Fix user role name when context has no related_object","user":{"login":"Smotko","id":513444,"avatar_url":"https://avatars.githubusercontent.com/u/513444?v=3","gravatar_id":"","url":"https://api.github.com/users/Smotko","html_url":"https://github.com/Smotko","followers_url":"https://api.github.com/users/Smotko/followers","following_url":"https://api.github.com/users/Smotko/following{/other_user}","gists_url":"https://api.github.com/users/Smotko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smotko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smotko/subscriptions","organizations_url":"https://api.github.com/users/Smotko/orgs","repos_url":"https://api.github.com/users/Smotko/repos","events_url":"https://api.github.com/users/Smotko/events{/privacy}","received_events_url":"https://api.github.com/users/Smotko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/google/ggrc-core/milestones/15","html_url":"https://github.com/google/ggrc-core/milestones/0.9.5-Zucchini","labels_url":"https://api.github.com/repos/google/ggrc-core/milestones/15/labels","id":1058059,"number":15,"title":"0.9.5-Zucchini","description":"","creator":{"login":"Smotko","id":513444,"avatar_url":"https://avatars.githubusercontent.com/u/513444?v=3","gravatar_id":"","url":"https://api.github.com/users/Smotko","html_url":"https://github.com/Smotko","followers_url":"https://api.github.com/users/Smotko/followers","following_url":"https://api.github.com/users/Smotko/following{/other_user}","gists_url":"https://api.github.com/users/Smotko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smotko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smotko/subscriptions","organizations_url":"https://api.github.com/users/Smotko/orgs","repos_url":"https://api.github.com/users/Smotko/repos","events_url":"https://api.github.com/users/Smotko/events{/privacy}","received_events_url":"https://api.github.com/users/Smotko/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":163,"state":"open","created_at":"2015-04-08T11:37:35Z","updated_at":"2015-11-28T00:08:14Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-27T16:48:07Z","updated_at":"2015-11-30T07:40:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/ggrc-core/pulls/3325","html_url":"https://github.com/google/ggrc-core/pull/3325","diff_url":"https://github.com/google/ggrc-core/pull/3325.diff","patch_url":"https://github.com/google/ggrc-core/pull/3325.patch"},"body":"GRC Admin and Superuser contexts (contexts with id 0 and 1) does not\r\nhave a related object. This caused logs to show `UserRole created`\r\ninstead of `GRC Admin mapped to user` when adding/removing GRC Admin\r\nauthorizations to users"},"comment":{"url":"https://api.github.com/repos/google/ggrc-core/issues/comments/160545590","html_url":"https://github.com/google/ggrc-core/pull/3325#issuecomment-160545590","issue_url":"https://api.github.com/repos/google/ggrc-core/issues/3325","id":160545590,"user":{"login":"rokcarl","id":42874,"avatar_url":"https://avatars.githubusercontent.com/u/42874?v=3","gravatar_id":"","url":"https://api.github.com/users/rokcarl","html_url":"https://github.com/rokcarl","followers_url":"https://api.github.com/users/rokcarl/followers","following_url":"https://api.github.com/users/rokcarl/following{/other_user}","gists_url":"https://api.github.com/users/rokcarl/gists{/gist_id}","starred_url":"https://api.github.com/users/rokcarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokcarl/subscriptions","organizations_url":"https://api.github.com/users/rokcarl/orgs","repos_url":"https://api.github.com/users/rokcarl/repos","events_url":"https://api.github.com/users/rokcarl/events{/privacy}","received_events_url":"https://api.github.com/users/rokcarl/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T07:40:25Z","updated_at":"2015-11-30T07:40:25Z","body":"Checked this on Zen, here's the before and after + my :+1: \r\n\r\n![screen shot 2015-11-30 at 08 38 38](https://cloud.githubusercontent.com/assets/42874/11465971/f6d53484-973d-11e5-8183-1f2b907e8c74.png)\r\n\r\n-------------------\r\n\r\n![screen shot 2015-11-30 at 08 36 10](https://cloud.githubusercontent.com/assets/42874/11465974/fbbc5ec8-973d-11e5-8650-31b29861280b.png)\r\n"}}