Fix admins being able to suspend their instance actor (#14567)
* Fix admin being able to suspend their own instance account * Add text about the instance's own actor in admin view * Change instance actor notice from flash message to template * Do not list local instance actor in account moderation list
This commit is contained in:
parent
8485c436d5
commit
8357969559
6 changed files with 11 additions and 5 deletions
|
@ -5,7 +5,7 @@ describe AccountFilter do
|
|||
it 'defaults to recent local not-suspended account list' do
|
||||
filter = described_class.new({})
|
||||
|
||||
expect(filter.results).to eq Account.local.recent.without_suspended
|
||||
expect(filter.results).to eq Account.local.without_instance_actor.recent.without_suspended
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue