mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 04:13:10 +08:00

* SECURITY: only allow picking of avatars created by self Also adds origin tracking to all uploads including de-duplicated uploads
5 lines
82 B
Ruby
5 lines
82 B
Ruby
class UserUpload < ActiveRecord::Base
|
|
belongs_to :upload
|
|
belongs_to :user
|
|
end
|