'use client'; import { SettingItem, SettingsSection, ToggleSwitch } from '@/components/settings/settings-section'; import { InheritNote } from '../org-page'; import type { OrgPolicyDraft } from '../use-org-policy-draft'; const DOCS_URL = 'https://bulwarkmail.org/docs/guides/organisation/offline-mode'; /** * Organisation > Devices > Offline mode (#523): whether people may keep * mail on their devices (policy.json `organisation.devices.noOffline`). * Users turn offline mode on per device; this switch takes it away, and a * device that already keeps mail deletes it at its next policy fetch. */ export function OfflineSection({ draft }: { draft: OrgPolicyDraft }) { const { value, own, everyone } = draft.orgValue('devices', 'noOffline'); return (
draft.setOrgValue('devices', 'noOffline', v)} testId="org-devices-noOffline" /> draft.clearOrgValue('devices', 'noOffline')} />

What a device keeps: the last 30 days of the Inbox and of the folders the person opens, at most 250 MB, encrypted in the browser. That protects against someone copying the browser's files, not against someone using the unlocked browser. Every sign-out, the automatic one after inactivity included, deletes it. With several accounts signed in, each account follows its own setting. Bulwark Lite has no offline mode.{' '} How offline mode works

); }