سياسة الاحتفاظ والحذف — Data Retention & Deletion Policy

مسودة: تحتاج مراجعة محامٍ — Draft: requires legal review

العربية

سياسة الاحتفاظ بالبيانات وحذفها

آخر تحديث: 29 أكتوبر 2026. تصف هذه الصفحة ما يفعله النظام فعلاً اليوم؛ المدد المعلّمة «مقترح» قرار لم يُنفَّذ بعد.

1. حذف الساكن حسابه (من التطبيق أو البوت أو بطلب لإدارة المبنى)

2. انتهاء الخدمة في مبنى (أو تدقيق مجاني بلا اشتراك)

3. مدد الاحتفاظ حسب نوع البيانات

البياناتالمدة اليوممقترح [قرار]
الحساب والسيارات والمستنداتطوال الاستخدام؛ حتى حذف الحساب أو المبنى—
سجل حركة البوابةحتى حذف بيانات المبنى24 شهراً
قراءات اللوحات الفاشلةحتى حذف بيانات التدقيق أو المبنى90 يوماً
لقطات كاميرا البوابة8 أيام في تخزين Cloudflare المشفّر، ثم تُحذف تلقائياً (ومع حذف بيانات المبنى)—
عيّنات تدريب قراءة اللوحات (نسخة من بعض لقطات البوابة)حتى سنة مشفّرة، ثم تُحذف تلقائياً، وفوراً مع حذف الحساب أو بيانات المبنى—
محادثات واتساب مع البوتحتى حذف بيانات المبنى12 شهراً
رموز الدخول (OTP)صالحة 5 دقائق—
جلسات الدخولالتطبيق 90 يوماً تتجدد مع الاستخدام؛ لوحة التحكم 7 أيام؛ تبطل فوراً بتغيير كلمة المرور—
روابط عرض المستندات5 دقائق—
سجل التدقيق الإداريدائم5 سنوات
النسخ الاحتياطية للقاعدة60 يوماً (Railway وBackblaze وCloudflare)؛ 30 يوماً (نسخة Goobab المحلية وGoogle Drive مشفّرة)—
نسخة حاوية المستندات الاحتياطيةمرآة يومية: المحذوف يختفي منها خلال 24 ساعة—
أعطال Sentryحسب خطة Sentry، بلا بيانات الطلبات—

تنبيه: البيانات المحذوفة تبقى في النسخ الاحتياطية حتى انتهاء مدتها (60 يوماً كحد أقصى) ثم تزول، ولا تُستعاد منها إلا لاسترجاع النظام بعد كارثة.

Draft: requires legal review

English

Data retention & deletion policy

Last updated: October 29, 2026. This page describes what the system actually does today; periods marked "proposed" are decisions not yet implemented.

1. A resident deletes their account (in the app, the bot, or by asking building management)

2. Service ends in a building (or a free audit without subscription)

3. Retention by data type

DataTodayProposed [decision]
Account, vehicles, documentsWhile in use; until account or building deletion—
Gate movement historyUntil the building's data is deleted24 months
Failed plate readsUntil audit or building deletion90 days
Gate camera snapshots8 days in encrypted Cloudflare storage, then deleted automatically (and with the building's data deletion)—
Plate-reading training samples (a copy of some gate snapshots)Up to one year, encrypted, then deleted automatically; immediately on account or building-data deletion—
WhatsApp bot conversationsUntil the building's data is deleted12 months
Login codes (OTP)Valid 5 minutes—
Sign-in sessionsApp 90 days, renewed on use; dashboard 7 days; revoked immediately on password change—
Document view links5 minutes—
Admin audit logIndefinite5 years
Database backups60 days (Railway, Backblaze, Cloudflare); 30 days (Goobab's local copy and encrypted Google Drive copy)—
Document bucket backupDaily mirror: deleted objects disappear within 24 hours—
Sentry error eventsPer Sentry plan, without request data—

Note: deleted data remains in backups until they expire (60 days at most), and is restored from them only to recover the system after a disaster.