Spaces:
Sleeping
Sleeping
Benard John
feat: implement full-stack architecture with database models, authentication services, and web dashboard components
37b5223 Download web/src/views/PrivacyView.vue from Benaah/MicProtocol: direct link, hf CLI and curl.
- Browser
- Download file 5.38 kB
-
https://huggingface.co/spaces/Benaah/MicProtocol/resolve/main/web/src/views/PrivacyView.vue
- Command line
-
hf download hf://spaces/Benaah/MicProtocol/web/src/views/PrivacyView.vue
-
curl -L -o PrivacyView.vue https://huggingface.co/spaces/Benaah/MicProtocol/resolve/main/web/src/views/PrivacyView.vue
5.38 kB
| <template> | |
| <LegalPage> | |
| <template #eyebrow>Legal · Privacy</template> | |
| <template #title>Privacy Policy</template> | |
| <template #lede> | |
| We collect the absolute minimum needed to run the service — and | |
| we tell you exactly what that is, in plain English. | |
| </template> | |
| <template #date>Last updated: 1 June 2026</template> | |
| <template #version>v1.0</template> | |
| <template #readtime>7 min read</template> | |
| <h2>1. The short version</h2> | |
| <ul> | |
| <li>Public visitors: we do <strong>not</strong> collect your | |
| name, email, or any identifier. We hash your IP subnet with | |
| your user-agent to compute a rate-limit fingerprint.</li> | |
| <li>Registered users: we store your email (to sign you in) and | |
| a hash of your refresh-token (so we can rotate sessions).</li> | |
| <li>API-key users: we store a bcrypt hash of your key's | |
| secret. The plaintext secret is shown to you <em>once</em> and | |
| never persisted.</li> | |
| <li>We do not sell, share, or rent your data to anyone.</li> | |
| </ul> | |
| <h2>2. What we collect</h2> | |
| <table> | |
| <thead> | |
| <tr><th>Category</th><th>What</th><th>Why</th><th>Retained for</th></tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td>Rate-limit fingerprint</td> | |
| <td>SHA-256(IP/24, UA prefix, Accept-Language), 16 chars</td> | |
| <td>Enforce the 20 req/day public quota</td> | |
| <td>24 hours, then deleted</td> | |
| </tr> | |
| <tr> | |
| <td>Email</td> | |
| <td>Registered users only</td> | |
| <td>Sign-in, important service notices</td> | |
| <td>Until you delete your account</td> | |
| </tr> | |
| <tr> | |
| <td>Refresh-token hash</td> | |
| <td>SHA-256(refresh token)</td> | |
| <td>Allow logout and rotation</td> | |
| <td>30 days or until logout</td> | |
| </tr> | |
| <tr> | |
| <td>Query text & answers</td> | |
| <td>What you asked and what we answered</td> | |
| <td>Transparency log, debugging, model evaluation</td> | |
| <td>24 months</td> | |
| </tr> | |
| <tr> | |
| <td>Auth audit log</td> | |
| <td>Sign-in / sign-out / failed attempts (event, IP, UA)</td> | |
| <td>Security, abuse investigation</td> | |
| <td>12 months</td> | |
| </tr> | |
| <tr> | |
| <td>Feedback</td> | |
| <td>Thumbs up/down, optional correction</td> | |
| <td>Improve retrieval quality</td> | |
| <td>Indefinitely (anonymised)</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <h2>3. What we <em>don't</em> collect</h2> | |
| <ul> | |
| <li>Full IP addresses are never written to durable storage. | |
| Only the truncated /24 subnet is hashed.</li> | |
| <li>No third-party analytics, advertising IDs, or social-media | |
| trackers run on this site.</li> | |
| <li>No cookies are set on anonymous visits. The only cookie | |
| we set is an <code>httpOnly</code> refresh-token cookie on | |
| the <code>/auth/*</code> path after you sign in.</li> | |
| </ul> | |
| <h2>4. How we protect your data</h2> | |
| <ul> | |
| <li>All traffic is served over HTTPS.</li> | |
| <li>API-key secrets are bcrypt-hashed; the database is the | |
| only place they can be rotated.</li> | |
| <li>Refresh tokens are rotated on every use; the previous token | |
| is invalidated.</li> | |
| <li>PostgreSQL credentials are kept in environment variables, | |
| never in the source tree.</li> | |
| </ul> | |
| <h2>5. Your rights</h2> | |
| <p> | |
| Because the service operates within Kenya, your rights are | |
| anchored in the <strong>Data Protection Act, 2019</strong> and | |
| the Constitution. You can: | |
| </p> | |
| <ul> | |
| <li><strong>Access</strong> — request a copy of the data we hold | |
| about you (your email, query log, feedback).</li> | |
| <li><strong>Delete</strong> — request erasure of your account. | |
| This is irreversible; we will also delete your API keys and | |
| refresh-token hashes.</li> | |
| <li><strong>Rectify</strong> — correct any inaccurate data.</li> | |
| <li><strong>Object</strong> — opt out of having your queries | |
| retained for model evaluation.</li> | |
| </ul> | |
| <p> | |
| Email <a href="mailto:privacy@ukweli.ke">privacy@ukweli.ke</a> | |
| with the subject line "Data request" and we will respond within | |
| the statutory 30 days. | |
| </p> | |
| <h2>6. Children</h2> | |
| <p> | |
| The service is not directed at children under 16. We do not | |
| knowingly collect personal data from children. If you believe | |
| a child has signed up, write to | |
| <a href="mailto:privacy@ukweli.ke">privacy@ukweli.ke</a> and | |
| we will delete the account. | |
| </p> | |
| <h2>7. International transfers</h2> | |
| <p> | |
| Our application servers run in AWS Frankfurt. Our database is | |
| hosted by Neon in São Paulo, Brazil. Our vector database is on | |
| Qdrant Cloud in the same region. By using Ukweli you consent to | |
| your data being processed in these regions. We have | |
| data-processing agreements in place with all sub-processors. | |
| </p> | |
| <h2>8. Changes</h2> | |
| <p> | |
| Material changes to this policy will be communicated to | |
| registered users by email. The "last updated" date above | |
| always reflects the most recent revision. | |
| </p> | |
| </LegalPage> | |
| </template> | |
| <script setup lang="ts"> | |
| import LegalPage from '@/components/LegalPage.vue' | |
| </script> | |