Allow participant role to trash their own topics and replies on BBPress

Hello,
There are a lot of old code snippets ranging from 1-5 years, and I do not trust my coding abilities to take this on by myself.

What I would like to do is allow participants to be able to trash but not delete their own topics and replies. They should also be able to restore their own topics and replies. This should all be based on the BBPress edit time. If the time runs out, they can no longer trash or restore their topic or reply.

Can you please help me do this?

Thanks,
Alex :smiley: