1
0
Fork 0
forked from gitea/nas

Change user backups to use expiring URLs for download when possible (#24136)

This commit is contained in:
Eugen Rochko 2023-03-16 22:46:52 +01:00 committed by Claire
parent 19def1a1f1
commit 6db76875fd
6 changed files with 32 additions and 4 deletions

View file

@ -17,6 +17,6 @@
class Backup < ApplicationRecord
belongs_to :user, inverse_of: :backups
has_attached_file :dump
has_attached_file :dump, s3_permissions: 'private'
do_not_validate_attachment_file_type :dump
end