nautobot-app-device-lifecycle-mgmt icon indicating copy to clipboard operation
nautobot-app-device-lifecycle-mgmt copied to clipboard

Add file upload option to contracts

Open mzambrano-tc opened this issue 2 years ago • 1 comments

Environment

  • Nautobot version: 1.5.12
  • nautobot-plugin-device-lifecycle-mgmt version: 1.1.2

Contracts should also include a "File Attachment" field. This should allow users to upload files (purchases orders, quotes, etc) to nautobot.

Proposed Functionality

This could use the Django filed FileField and the upload_to to save the files to the MEDIA_ROOT.

Use Case

This allows users to attach documents related to the contracts, like purchases orders, quotes, shipping packing lists, etc

mzambrano-tc avatar Apr 11 '23 17:04 mzambrano-tc

@progala Any update about this feature?

mzambrano-tc avatar Feb 01 '24 04:02 mzambrano-tc

@mzambrano-tc we discussed this internally and we are considering adding a new URL field to the model that could be used to record location, such as S3 bucket, where the artifacts are stored.

Storing arbitrary files directly on the Nautobot server is usually not recommended. This is due to the difficulty in applying access permissions, additional overhead involved in serving the files, and it being tricky to manage files in HA deployments with multiple Nautobot instances.

progala avatar Sep 06 '24 16:09 progala