namespace QuestionsApi.Services.Flashcards; // Pure authorization decision for mutating a flashcard deck/note, kept dependency-free (like // FlashcardScheduling) so it's unit testable without a controller or Mongo. public static class FlashcardOwnershipGuard { public static bool CanMutate(bool isSuper, bool targetIsSystem) => isSuper || !targetIsSystem; }