{"action":"created","comment":{"url":"https://api.github.com/repos/IMQS/authaus/pulls/comments/153719875","pull_request_review_id":79766683,"id":153719875,"diff_hunk":"@@ -287,15 +295,16 @@ func (x *dummyUserStore) RenameIdentity(oldEmail, newEmail string) error {\n \t}\n }\n \n-func (x *dummyUserStore) GetIdentities() ([]AuthUser, error) {\n+func (x *dummyUserStore) GetIdentities(getIdentitiesFlag GetIdentitiesFlag) ([]AuthUser, error) {\n \tx.usersLock.RLock()\n \tdefer x.usersLock.RUnlock()\n \n \tlist := []AuthUser{}\n \tfor _, v := range x.users {\n-\t\tif v.archived == false {\n-\t\t\tlist = append(list, AuthUser{v.userId, v.email, v.username, v.firstname, v.lastname, v.mobilenumber, v.telephonenumber, v.remarks, v.created, v.createdby, v.modified, v.modifiedby, v.authUserType})\n+\t\tif getIdentitiesFlag != GetIdentitiesFlagDeleted && v.archived == true {","path":"db.go","position":52,"original_position":52,"commit_id":"afd9ce229b682b2472ce7df58ec2055ee96d76e8","original_commit_id":"afd9ce229b682b2472ce7df58ec2055ee96d76e8","user":{"login":"bmharper","id":876013,"avatar_url":"https://avatars0.githubusercontent.com/u/876013?v=4","gravatar_id":"","url":"https://api.github.com/users/bmharper","html_url":"https://github.com/bmharper","followers_url":"https://api.github.com/users/bmharper/followers","following_url":"https://api.github.com/users/bmharper/following{/other_user}","gists_url":"https://api.github.com/users/bmharper/gists{/gist_id}","starred_url":"https://api.github.com/users/bmharper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmharper/subscriptions","organizations_url":"https://api.github.com/users/bmharper/orgs","repos_url":"https://api.github.com/users/bmharper/repos","events_url":"https://api.github.com/users/bmharper/events{/privacy}","received_events_url":"https://api.github.com/users/bmharper/received_events","type":"User","site_admin":false},"body":"This is a flag, so always use a binary AND to check for the presence of a flag.","created_at":"2017-11-29T08:35:34Z","updated_at":"2017-11-29T08:37:00Z","html_url":"https://github.com/IMQS/authaus/pull/27#discussion_r153719875","pull_request_url":"https://api.github.com/repos/IMQS/authaus/pulls/27","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/IMQS/authaus/pulls/comments/153719875"},"html":{"href":"https://github.com/IMQS/authaus/pull/27#discussion_r153719875"},"pull_request":{"href":"https://api.github.com/repos/IMQS/authaus/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/IMQS/authaus/pulls/27","id":155276207,"html_url":"https://github.com/IMQS/authaus/pull/27","diff_url":"https://github.com/IMQS/authaus/pull/27.diff","patch_url":"https://github.com/IMQS/authaus/pull/27.patch","issue_url":"https://api.github.com/repos/IMQS/authaus/issues/27","number":27,"state":"open","locked":false,"title":"  TI-2402 - User list Filter","user":{"login":"stewartm83","id":2292198,"avatar_url":"https://avatars0.githubusercontent.com/u/2292198?v=4","gravatar_id":"","url":"https://api.github.com/users/stewartm83","html_url":"https://github.com/stewartm83","followers_url":"https://api.github.com/users/stewartm83/followers","following_url":"https://api.github.com/users/stewartm83/following{/other_user}","gists_url":"https://api.github.com/users/stewartm83/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartm83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartm83/subscriptions","organizations_url":"https://api.github.com/users/stewartm83/orgs","repos_url":"https://api.github.com/users/stewartm83/repos","events_url":"https://api.github.com/users/stewartm83/events{/privacy}","received_events_url":"https://api.github.com/users/stewartm83/received_events","type":"User","site_admin":false},"body":"Please review.","created_at":"2017-11-29T08:28:36Z","updated_at":"2017-11-29T08:37:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ade1e64b28897062cd725bf4b31116937219720","assignee":null,"assignees":[],"requested_reviewers":[{"login":"RoanBrand","id":14920090,"avatar_url":"https://avatars1.githubusercontent.com/u/14920090?v=4","gravatar_id":"","url":"https://api.github.com/users/RoanBrand","html_url":"https://github.com/RoanBrand","followers_url":"https://api.github.com/users/RoanBrand/followers","following_url":"https://api.github.com/users/RoanBrand/following{/other_user}","gists_url":"https://api.github.com/users/RoanBrand/gists{/gist_id}","starred_url":"https://api.github.com/users/RoanBrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoanBrand/subscriptions","organizations_url":"https://api.github.com/users/RoanBrand/orgs","repos_url":"https://api.github.com/users/RoanBrand/repos","events_url":"https://api.github.com/users/RoanBrand/events{/privacy}","received_events_url":"https://api.github.com/users/RoanBrand/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/IMQS/authaus/pulls/27/commits","review_comments_url":"https://api.github.com/repos/IMQS/authaus/pulls/27/comments","review_comment_url":"https://api.github.com/repos/IMQS/authaus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IMQS/authaus/issues/27/comments","statuses_url":"https://api.github.com/repos/IMQS/authaus/statuses/afd9ce229b682b2472ce7df58ec2055ee96d76e8","head":{"label":"IMQS:goto-sm-retrieve-deleted-users","ref":"goto-sm-retrieve-deleted-users","sha":"afd9ce229b682b2472ce7df58ec2055ee96d76e8","user":{"login":"IMQS","id":2345243,"avatar_url":"https://avatars2.githubusercontent.com/u/2345243?v=4","gravatar_id":"","url":"https://api.github.com/users/IMQS","html_url":"https://github.com/IMQS","followers_url":"https://api.github.com/users/IMQS/followers","following_url":"https://api.github.com/users/IMQS/following{/other_user}","gists_url":"https://api.github.com/users/IMQS/gists{/gist_id}","starred_url":"https://api.github.com/users/IMQS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMQS/subscriptions","organizations_url":"https://api.github.com/users/IMQS/orgs","repos_url":"https://api.github.com/users/IMQS/repos","events_url":"https://api.github.com/users/IMQS/events{/privacy}","received_events_url":"https://api.github.com/users/IMQS/received_events","type":"Organization","site_admin":false},"repo":{"id":10230916,"name":"authaus","full_name":"IMQS/authaus","owner":{"login":"IMQS","id":2345243,"avatar_url":"https://avatars2.githubusercontent.com/u/2345243?v=4","gravatar_id":"","url":"https://api.github.com/users/IMQS","html_url":"https://github.com/IMQS","followers_url":"https://api.github.com/users/IMQS/followers","following_url":"https://api.github.com/users/IMQS/following{/other_user}","gists_url":"https://api.github.com/users/IMQS/gists{/gist_id}","starred_url":"https://api.github.com/users/IMQS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMQS/subscriptions","organizations_url":"https://api.github.com/users/IMQS/orgs","repos_url":"https://api.github.com/users/IMQS/repos","events_url":"https://api.github.com/users/IMQS/events{/privacy}","received_events_url":"https://api.github.com/users/IMQS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IMQS/authaus","description":"Authentication Haus","fork":false,"url":"https://api.github.com/repos/IMQS/authaus","forks_url":"https://api.github.com/repos/IMQS/authaus/forks","keys_url":"https://api.github.com/repos/IMQS/authaus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IMQS/authaus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IMQS/authaus/teams","hooks_url":"https://api.github.com/repos/IMQS/authaus/hooks","issue_events_url":"https://api.github.com/repos/IMQS/authaus/issues/events{/number}","events_url":"https://api.github.com/repos/IMQS/authaus/events","assignees_url":"https://api.github.com/repos/IMQS/authaus/assignees{/user}","branches_url":"https://api.github.com/repos/IMQS/authaus/branches{/branch}","tags_url":"https://api.github.com/repos/IMQS/authaus/tags","blobs_url":"https://api.github.com/repos/IMQS/authaus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IMQS/authaus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IMQS/authaus/git/refs{/sha}","trees_url":"https://api.github.com/repos/IMQS/authaus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IMQS/authaus/statuses/{sha}","languages_url":"https://api.github.com/repos/IMQS/authaus/languages","stargazers_url":"https://api.github.com/repos/IMQS/authaus/stargazers","contributors_url":"https://api.github.com/repos/IMQS/authaus/contributors","subscribers_url":"https://api.github.com/repos/IMQS/authaus/subscribers","subscription_url":"https://api.github.com/repos/IMQS/authaus/subscription","commits_url":"https://api.github.com/repos/IMQS/authaus/commits{/sha}","git_commits_url":"https://api.github.com/repos/IMQS/authaus/git/commits{/sha}","comments_url":"https://api.github.com/repos/IMQS/authaus/comments{/number}","issue_comment_url":"https://api.github.com/repos/IMQS/authaus/issues/comments{/number}","contents_url":"https://api.github.com/repos/IMQS/authaus/contents/{+path}","compare_url":"https://api.github.com/repos/IMQS/authaus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IMQS/authaus/merges","archive_url":"https://api.github.com/repos/IMQS/authaus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IMQS/authaus/downloads","issues_url":"https://api.github.com/repos/IMQS/authaus/issues{/number}","pulls_url":"https://api.github.com/repos/IMQS/authaus/pulls{/number}","milestones_url":"https://api.github.com/repos/IMQS/authaus/milestones{/number}","notifications_url":"https://api.github.com/repos/IMQS/authaus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IMQS/authaus/labels{/name}","releases_url":"https://api.github.com/repos/IMQS/authaus/releases{/id}","deployments_url":"https://api.github.com/repos/IMQS/authaus/deployments","created_at":"2013-05-22T22:13:29Z","updated_at":"2017-11-29T08:33:31Z","pushed_at":"2017-11-29T08:28:37Z","git_url":"git://github.com/IMQS/authaus.git","ssh_url":"git@github.com:IMQS/authaus.git","clone_url":"https://github.com/IMQS/authaus.git","svn_url":"https://github.com/IMQS/authaus","homepage":null,"size":233,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":22,"default_branch":"master"}},"base":{"label":"IMQS:master","ref":"master","sha":"2bc1d23d5ca89d42afc22da7a309d444dcf77f35","user":{"login":"IMQS","id":2345243,"avatar_url":"https://avatars2.githubusercontent.com/u/2345243?v=4","gravatar_id":"","url":"https://api.github.com/users/IMQS","html_url":"https://github.com/IMQS","followers_url":"https://api.github.com/users/IMQS/followers","following_url":"https://api.github.com/users/IMQS/following{/other_user}","gists_url":"https://api.github.com/users/IMQS/gists{/gist_id}","starred_url":"https://api.github.com/users/IMQS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMQS/subscriptions","organizations_url":"https://api.github.com/users/IMQS/orgs","repos_url":"https://api.github.com/users/IMQS/repos","events_url":"https://api.github.com/users/IMQS/events{/privacy}","received_events_url":"https://api.github.com/users/IMQS/received_events","type":"Organization","site_admin":false},"repo":{"id":10230916,"name":"authaus","full_name":"IMQS/authaus","owner":{"login":"IMQS","id":2345243,"avatar_url":"https://avatars2.githubusercontent.com/u/2345243?v=4","gravatar_id":"","url":"https://api.github.com/users/IMQS","html_url":"https://github.com/IMQS","followers_url":"https://api.github.com/users/IMQS/followers","following_url":"https://api.github.com/users/IMQS/following{/other_user}","gists_url":"https://api.github.com/users/IMQS/gists{/gist_id}","starred_url":"https://api.github.com/users/IMQS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMQS/subscriptions","organizations_url":"https://api.github.com/users/IMQS/orgs","repos_url":"https://api.github.com/users/IMQS/repos","events_url":"https://api.github.com/users/IMQS/events{/privacy}","received_events_url":"https://api.github.com/users/IMQS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IMQS/authaus","description":"Authentication Haus","fork":false,"url":"https://api.github.com/repos/IMQS/authaus","forks_url":"https://api.github.com/repos/IMQS/authaus/forks","keys_url":"https://api.github.com/repos/IMQS/authaus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IMQS/authaus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IMQS/authaus/teams","hooks_url":"https://api.github.com/repos/IMQS/authaus/hooks","issue_events_url":"https://api.github.com/repos/IMQS/authaus/issues/events{/number}","events_url":"https://api.github.com/repos/IMQS/authaus/events","assignees_url":"https://api.github.com/repos/IMQS/authaus/assignees{/user}","branches_url":"https://api.github.com/repos/IMQS/authaus/branches{/branch}","tags_url":"https://api.github.com/repos/IMQS/authaus/tags","blobs_url":"https://api.github.com/repos/IMQS/authaus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IMQS/authaus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IMQS/authaus/git/refs{/sha}","trees_url":"https://api.github.com/repos/IMQS/authaus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IMQS/authaus/statuses/{sha}","languages_url":"https://api.github.com/repos/IMQS/authaus/languages","stargazers_url":"https://api.github.com/repos/IMQS/authaus/stargazers","contributors_url":"https://api.github.com/repos/IMQS/authaus/contributors","subscribers_url":"https://api.github.com/repos/IMQS/authaus/subscribers","subscription_url":"https://api.github.com/repos/IMQS/authaus/subscription","commits_url":"https://api.github.com/repos/IMQS/authaus/commits{/sha}","git_commits_url":"https://api.github.com/repos/IMQS/authaus/git/commits{/sha}","comments_url":"https://api.github.com/repos/IMQS/authaus/comments{/number}","issue_comment_url":"https://api.github.com/repos/IMQS/authaus/issues/comments{/number}","contents_url":"https://api.github.com/repos/IMQS/authaus/contents/{+path}","compare_url":"https://api.github.com/repos/IMQS/authaus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IMQS/authaus/merges","archive_url":"https://api.github.com/repos/IMQS/authaus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IMQS/authaus/downloads","issues_url":"https://api.github.com/repos/IMQS/authaus/issues{/number}","pulls_url":"https://api.github.com/repos/IMQS/authaus/pulls{/number}","milestones_url":"https://api.github.com/repos/IMQS/authaus/milestones{/number}","notifications_url":"https://api.github.com/repos/IMQS/authaus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IMQS/authaus/labels{/name}","releases_url":"https://api.github.com/repos/IMQS/authaus/releases{/id}","deployments_url":"https://api.github.com/repos/IMQS/authaus/deployments","created_at":"2013-05-22T22:13:29Z","updated_at":"2017-11-29T08:33:31Z","pushed_at":"2017-11-29T08:28:37Z","git_url":"git://github.com/IMQS/authaus.git","ssh_url":"git@github.com:IMQS/authaus.git","clone_url":"https://github.com/IMQS/authaus.git","svn_url":"https://github.com/IMQS/authaus","homepage":null,"size":233,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IMQS/authaus/pulls/27"},"html":{"href":"https://github.com/IMQS/authaus/pull/27"},"issue":{"href":"https://api.github.com/repos/IMQS/authaus/issues/27"},"comments":{"href":"https://api.github.com/repos/IMQS/authaus/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/IMQS/authaus/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/IMQS/authaus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IMQS/authaus/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/IMQS/authaus/statuses/afd9ce229b682b2472ce7df58ec2055ee96d76e8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bmharper"}}