Skip to content

Folders & ACLs

Pulsabase organizes files into a single scalable bucket, using a virtual folder hierarchy:

/
├── public/ ← Publicly readable (requires a public ACL)
│ └── avatars/
└── private/ ← Authenticated access only (requires an auth ACL)
└── invoices/

You can configure ACL policies directly in the Pulsabase Dashboard under Storage > Policies, or using the SDK.

  1. Go to Storage > Policies.
  2. Click New Policy.
  3. Set the Path Pattern (e.g., public/avatars/*).
  4. Select the permitted Actions (READ, WRITE, DELETE).
  5. Assign the Role (public, authenticated, or a custom role).
Path PatternRolePermitted ActionsResult
public/*publicREADAnyone can download files, but no one can upload.
users/{user_id}/*authenticatedREAD, WRITE, DELETEUsers can manage their own folder (via {user_id} variable binding).
admin/reports/*adminREAD, WRITE, DELETEOnly users with the admin role can access theses files.