Closed myieye closed 2 weeks ago
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @myieye and the rest of your teammates on Graphite
12 testsβ Β±0βββ12 :white_check_mark: Β±0βββ0s :stopwatch: Β±0s β4 suites Β±0ββββ0 :zzz: Β±0β β1 filesββ Β±0ββββ0 :x: Β±0β
Results for commit 34434b18.βΒ± Comparison against base commit e83930d2.
75 testsβ Β±0βββ75 :white_check_mark: Β±0βββ5s :stopwatch: Β±0s 13 suites Β±0ββββ0 :zzz: Β±0β β1 filesββ Β±0ββββ0 :x: Β±0β
Results for commit 34434b18.βΒ± Comparison against base commit e83930d2.
@hahn-kev I'm really second guessing whether this is worth it. It's even possible that doing this in the middleware is actually too late, because a permission check in the current request already queried it. An EF Core interceptor would be a better place.
I know this was my idea, but my current opinion is that we should ditch it π.
What do you think?
TL;DR
Improved project confidentiality caching and permission checks for project member visibility.
What changed?
ProjectConfidentialityCachingMiddleware
to manage project confidentiality stateWhy make this change?
To reduce db hits