Private storage
Documents are stored in private Supabase Storage buckets. The storage path begins with the business identifier so access policies can scope files to that business.
Security
The controls described here reflect the access policies in the ZimXPay database today.
Documents are stored in private Supabase Storage buckets. The storage path begins with the business identifier so access policies can scope files to that business.
An authenticated person with an active link to a business can read records for that business. Authorised ZimX platform team roles can access merchant records to deliver the service.
Row-level security is enabled on merchant-scoped tables. Read policies match each row's business identifier against the businesses linked to the signed-in person.
Storage policies match the first folder in a file path to a business the signed-in person can access. Merchant document downloads are issued through short-lived signed links.