mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
If an admin or moderator edits a visitor's post, the restrictions should be based
on the *editors* access rights, not the original poster.
This commit is contained in:
@ -49,3 +49,9 @@ Fabricator(:another_admin, from: :user) do
|
||||
admin true
|
||||
end
|
||||
|
||||
Fabricator(:visitor, from: :user) do
|
||||
name 'Newbie Newperson'
|
||||
username 'newbie'
|
||||
email 'newbie@new.com'
|
||||
trust_level TrustLevel.levels[:visitor]
|
||||
end
|
||||
|
Reference in New Issue
Block a user