FEATURE: Promote the "delete group" staff action log. (#16656)

We used to log group deletion as custom, which means we can't later search for them. Include group ID in the details.
This commit is contained in:
Roman Rizzi
2022-05-09 12:12:52 -03:00
committed by GitHub
parent 54759b7e8c
commit 6bdcd7afb2
5 changed files with 39 additions and 5 deletions

View File

@@ -274,6 +274,7 @@ RSpec.describe Admin::GroupsController do
expect(history).to be_present
expect(history.details).to include("name: #{group.name}")
expect(history.details).to include("id: #{group.id}")
end
it 'logs the grant_trust_level attribute' do