Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
isLegalHoldEnabledForTeam :: forall r. (Member LegalHoldStore r, Member TeamStore r, Member TeamFeatureStore r) => TeamId -> Sem r Bool Source #
computeLegalHoldFeatureStatus :: (Member TeamStore r, Member LegalHoldStore r) => TeamId -> DbFeature LegalholdConfig -> Sem r FeatureStatus Source #
assertLegalHoldEnabledForTeam :: forall r. (Member LegalHoldStore r, Member TeamStore r, Member TeamFeatureStore r, Member (ErrorS 'LegalHoldNotEnabled) r) => TeamId -> Sem r () Source #
ensureNotTooLargeToActivateLegalHold :: (Member BrigAccess r, Member (ErrorS 'CannotEnableLegalHoldServiceLargeTeam) r, Member TeamStore r) => TeamId -> Sem r () Source #