Better implementation for #1856

The owner of the report can delete a shared report.