Contents

Secure multi-file upload bounded context.

Locations

LayerPath
Domaininternal/domain/upload/
Applicationinternal/application/upload/start withservice.go
HTTPinternal/adapters/http/handler/upload_handler.go
GoUIroutes.go (upload middleware); bulk notification upload: controller_rbac_notifications.go
Infrastructurepkg/safefs, internal/infrastructure/storage
Wiringwire_infra.go, wire_http.go, wire_goui.go

Application

FileRole
service.goFacade: UploadBatch — validation, virus scan, storage
service_test.goUnit tests

HTTP surfaces

MethodPathHandlerPermission
POST/api/v1/uploads/Uploaduploads:create

GoUI static file path: gouiupload.UploadPath / FilesPrefix — same permission (uploads:create or notification send).

Panel surfaces

PathScreen
/dashboard/uploadsuploads
/dashboard/notifications/bulk/uploadnotification-upload

Related

  • Size limits → SEC_MAX_UPLOAD_BYTES, HTTP_BODY_LIMIT_BYTES
  • Architecture → DOMAIN.md