LPS-47508 implement trash support as a repository capability