Staging review copy — this document is complete for review, but is not approved or binding. Production publication requires the named business decisions and qualified legal/privacy approval.
Cookies & Device Storage
RHAYE uses browser and device storage to keep sign-in and application functions working. This notice describes the behavior present in the current source and the limits of what the application can clear. Browser/provider behavior and legal consent requirements must still be confirmed for each production configuration.
Version 0.1 · Review copy · Prepared 23 November 2026 · Effective date: pending approval
1. Cookies and necessary storage
A cookie is one kind of browser storage. Authentication providers and browsers may also use IndexedDB, local storage, session storage or other mechanisms. The current web app calls Firebase Authentication without selecting a persistence mode explicitly; Firebase’s browser SDK default is persistent local authentication state. Exact storage keys and lifetime can vary by browser and provider implementation.
RHAYE uses local storage for convenience preferences such as the selected theme and preferred organisation. These preferences do not grant access: the server must still verify the current identity, organisation membership and permissions. A service worker caches a defined set of static application files and the offline screen. The current service worker does not cache authenticated HTML pages or `/v1` API responses.
2. FIELD offline drafts
FIELD can keep a pending care-delivery draft in IndexedDB so a staff member can retry submission after a temporary connection failure. The current code encrypts the draft with AES-GCM and scopes it to the signed-in user, organisation and visit. The encryption key is stored in the same browser origin’s IndexedDB; it is not hardware-backed and does not protect against a compromised device, browser profile or same-origin script.
The application sets a 24-hour lifetime for draft content and up to 30 days for a content-free expiry marker. These are code cleanup periods, not a guarantee that the browser physically erased every storage copy. Sign-out does not prove that pending drafts or all provider state have been erased. Do not use a shared device unless it is protected under the organisation’s device policy, and confirm pending work has synchronised before clearing browser data.
3. Optional analytics and tracking
No nonessential analytics or advertising tracker was confirmed in the source review. That finding is not a guarantee about network providers, deployment configuration or later integrations. The deployed application must be checked for analytics, error-reporting, embedded content and third-party cookies before release. If optional tracking is introduced, it must be disclosed and any legally required choice must be provided before it is used.
4. Clearing storage and managing a device
You can clear site data through your browser or device settings. This may sign you out, remove cached installation files, reset theme or organisation preferences, and make unsent work unavailable. Check that FIELD reports a successful server save before clearing storage or changing user accounts. The organisation should use device locks, managed accounts and approved shared-device procedures.
An inactivity lock and complete sign-out cleanup policy have not been verified in the current candidate. The product must not promise that leaving the app idle, closing a browser tab or signing out removes all local data. A device/session policy and real-device tests are required before shared-device use.
5. Configuration and notice changes
Authentication persistence, service-worker assets, provider cookies, optional integrations and browser support may change between releases. RHAYE must update this notice when a material change is approved. The actual deployment inventory, cookie classification, consent requirements and effective date remain subject to owner and privacy review.