FIX: Handle storage providers not implementing ACLs (PR #13675)

When secure media is enabled or when upload secure status is updated, we also try and update the upload ACL. However if the object storage provider does not implement this we get an Aws::S3::Errors::NotImplemented error. This PR handles this error so the update_secure_status method does not error out and still returns whether the secure status changed.

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

hi @martin-brennan , is this inclueded in the 2.8.0.beta3 release?

@dirien if the commit FIX: Handle storage providers not implementing ACLs (#13675) · discourse/discourse@9f275c1 · GitHub was made before the beta3 commit in the main branch, then yes