mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 11:15:48 +08:00
69bc8f526a
* 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
|