Initialize repo and add session changes (2025-09-08)
This commit is contained in:
22
docs/prp/06-tenant-admin-pwa.md
Normal file
22
docs/prp/06-tenant-admin-pwa.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 06 — Tenant Admin PWA (Store-Ready)
|
||||
|
||||
Packaging
|
||||
- Android: Trusted Web Activity (TWA) bound to `admin.<domain>`; fallback Capacitor if native plugins needed.
|
||||
- iOS: Capacitor wrapper with push notifications and secure storage.
|
||||
- Installable PWA (A2HS) with offline and background sync.
|
||||
|
||||
Auth & Tenancy
|
||||
- OAuth2 Authorization Code + PKCE; refresh tokens; secure storage (Keychain/Keystore).
|
||||
- Tokens carry `tenant_id` and roles; backend enforces scoping.
|
||||
|
||||
Capabilities
|
||||
- Manage events, galleries, members, settings, legal pages, purchases.
|
||||
- Notifications: Web Push (Android TWA) and Capacitor push (iOS).
|
||||
- Conflict handling: ETag/If-Match; audit changes.
|
||||
|
||||
Distribution & CI
|
||||
- Play: assetlinks.json at `/.well-known/assetlinks.json`.
|
||||
- App Store: fastlane lanes; privacy manifests.
|
||||
- Version alignment with backend; feature flags synced on login.
|
||||
|
||||
See also: docs/adr/ADR-0006-tenant-admin-pwa.md
|
||||
Reference in New Issue
Block a user