mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:33:37 +08:00
df45e82377
* 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
|