When you attach a file to a Thing, anyone who can view that Thing (by privacy rules) can also view that file, assuming you’ve checked the ‘View attached files’ checkbox that’s enabled by default.

You cannot attach it to a Thing before it is created. That’s kind of a problem, as for file uploaders, the file is uploaded before anything is created, and as you point out, there’s nothing to attach it to.

You can either:

  1. Create a temporary file, and when ‘Create project’ is clicked, Make changes to the project rather than creating a new one. Just hide draft projects from the user.
  2. Create the project with the public file, use an API call to upload it again as private, set the file field with the URL of the newly uploaded private file, then delete the old file.

We need a ‘Set a file’s Thing’ action really :slight_smile: