Closed Bug 1529710 Opened 6 years ago Closed 6 years ago

Kinto attachment URLs are not updated when collection is signed

Categories

(Cloud Services :: Operations: Kinto, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mgoodwin, Unassigned)

References

Details

See https://settings.stage.mozaws.net/v1/buckets/security-state/collections/intermediates/records

The attachment location attribute contains a path for stage data:
E.g: "security-state-staging/intermediates/0bb638b8-6e5d-40ba-b504-de097b77f0ab.pem"

Either these attributes should be modified to reflect production settings prior to collection signing, or any bucket specific details should be omitted from the data and instead moved to application configuration.

Indeed, the attachment location contains the name of the bucket where attachments were uploaded. We don't copy them.

But the file locations are randomized on upload and attachments are never deleted. That means that once published the attachment will always remain available even if the related source record is deleted.

So apart from the URL containing the word «staging», there's no real consequence. Is that an issue?

(In reply to Mathieu Leplatre [:leplatrem] from comment #2)

So apart from the URL containing the word «staging», there's no real consequence. Is that an issue?

I don't think so (other than cosmetics).

With those semantics, I agree is OK. Thanks!

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.