Skip to content

Commit

Permalink
Clarify source comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
fisx committed Dec 20, 2024
1 parent bc88b86 commit 587052a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions services/galley/src/Galley/API/LegalHold/Conflicts.hs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ guardLegalholdPolicyConflicts (ProtectedUser self) otherClients = do
case view (settings . featureFlags . to npProject) opts of
FeatureLegalHoldDisabledPermanently -> case FutureWork @'LegalholdPlusFederationNotImplemented () of
FutureWork () ->
-- FUTUREWORK: if federation is enabled, we still need to run the guard!
-- see also: LegalholdPlusFederationNotImplemented
-- FUTUREWORK: once we support federation and LH in combination, we still need to run
-- the guard to protect against other federating instances running LH! see also:
-- LegalholdPlusFederationNotImplemented
pure ()
FeatureLegalHoldDisabledByDefault -> guardLegalholdPolicyConflictsUid self otherClients
FeatureLegalHoldWhitelistTeamsAndImplicitConsent -> guardLegalholdPolicyConflictsUid self otherClients
Expand Down

0 comments on commit 587052a

Please sign in to comment.