Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Instruction file imported from bobby3car-oss/backup_20.4.1 (.github/instructions/firestore-rules.instructions.md). Copyright stays with the author.
Firestore Security Rules
Key Patterns
Patient data: Owner read/write, linked doctors read-only on specific fields
Doctor data: Doctor owner + their staff (permission-based)
Organisation data: Org owner + org staff
Admin: Hardcoded admin UIDs in rules
Collection group queries indexed for patients/{id}/invites
Reference
Read /memories/repo/firestore_collectiongroup_rules.md for full rule patterns.
Read /memories/repo/backend_enforcement_audit.md for security audit results.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/bobby3car-oss-backup-20-4-1-firestore-rules-instructions/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.