mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
SECURITY: only allow picking of avatars created by self (#6417)
* SECURITY: only allow picking of avatars created by self Also adds origin tracking to all uploads including de-duplicated uploads
This commit is contained in:
4
app/models/user_upload.rb
Normal file
4
app/models/user_upload.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class UserUpload < ActiveRecord::Base
|
||||
belongs_to :upload
|
||||
belongs_to :user
|
||||
end
|
||||
Reference in New Issue
Block a user