Wastebasket/Trash bin at Optimizely Multisite

50 views Asked by At

I am wondering if someone knows how to create one Wastebasket/Trash bin per. site on Optimizely CMS? Right now we have a shared bin, and editors on different sites can delete content on another site.

1

There are 1 answers

4
Ted Nyberg On

AFAIK there's no such option out of the box, but you could hook into the Moving event to see if ContentReference.WasteBasket is the target, and if so move to a different site-specific "waste basket".

However, you would have to take care of additional use-cases yourself, as the page wouldn't technically be in the waste basket.

For example, filtering out "deleted" pages in S&N queries wouldn't work as expected.

Edit: if you want to prevent deletions from the wastebasket, you could perhaps implement custom authorization in the Deleting event.