Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ProjectMembersVisibilityMiddleware more robust #1199

Merged

Conversation

myieye
Copy link
Contributor

@myieye myieye commented Oct 31, 2024

TL;DR

Fixed project member visibility to include users even when their full user object hasn't been loaded.

What changed?

Modified the project members visibility middleware to check both the User.Id and UserId properties when filtering project users. This ensures that project members are correctly shown even when the User navigation property hasn't been fully loaded.

Copy link
Contributor Author

myieye commented Oct 31, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @myieye and the rest of your teammates on Graphite Graphite

@myieye myieye requested a review from rmunn October 31, 2024 13:10
@myieye myieye marked this pull request as ready for review October 31, 2024 13:10
Copy link

github-actions bot commented Oct 31, 2024

C# Unit Tests

75 tests  ±0   75 ✅ ±0   5s ⏱️ ±0s
13 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit dbbd579. ± Comparison against base commit 6a5a04d.

♻️ This comment has been updated with latest results.

@myieye myieye force-pushed the gt/10-31-make_projectmembersvisibilitymiddleware_more_robust branch from b5050b7 to f037a44 Compare November 4, 2024 10:12
@myieye myieye requested a review from hahn-kev November 4, 2024 10:13
@myieye myieye force-pushed the gt/10-31-make_projectmembersvisibilitymiddleware_more_robust branch from f037a44 to dbbd579 Compare November 5, 2024 08:26
Copy link
Contributor Author

myieye commented Nov 5, 2024

Merge activity

  • Nov 5, 3:26 AM EST: Graphite rebased this pull request as part of a merge.
  • Nov 5, 3:30 AM EST: Graphite couldn't merge this PR because it failed for an unknown reason.

@myieye myieye merged commit ad076a1 into develop Nov 5, 2024
8 checks passed
@myieye myieye deleted the gt/10-31-make_projectmembersvisibilitymiddleware_more_robust branch November 5, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants