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:
Robin Ward
2013-04-05 13:59:00 -04:00
parent ab85d4a757
commit af9b27358c
5 changed files with 52 additions and 6 deletions

View File

@ -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