It's implemented in a similar fashion as sharing a project with a group.
Attach a file by drag & drop or click to upload