Skip to content

Commit

Permalink
Treat isConfidential = null as false in UsersICanSee
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed Nov 15, 2024
1 parent a0f89f1 commit 44db0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/LexBoxApi/Services/UserService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ public IQueryable<User> UserQueryForTypeahead(LexAuthUser user)
u.Organizations.Any(orgMember => myOrgIds.Contains(orgMember.OrgId)) ||
u.Projects.Any(projMember =>
myManagedProjectIds.Contains(projMember.ProjectId) ||
(projMember.Project != null && projMember.Project.IsConfidential == false && myProjectIds.Contains(projMember.ProjectId))));
(projMember.Project != null && projMember.Project.IsConfidential != true && myProjectIds.Contains(projMember.ProjectId))));
}
}

0 comments on commit 44db0e3

Please sign in to comment.