Strapi Plugin Soft Delete

screenshot of Strapi Plugin Soft Delete
react
strapi

Powerful Strapi based Soft Delete feature, never loose content again

Overview

The Soft Delete plugin is a plugin for Strapi Headless CMS that provides a Soft Delete feature. It adds certain fields to all collection and single content types, allowing for the soft deletion of entries. The plugin also includes RBAC (Role-Based Access Control) features, allowing for different levels of access and control over the soft deleted entries. Additionally, the plugin adds a Soft Delete Explorer item to the Admin left panel, which displays the soft deleted entries and allows for their restoration or permanent deletion.

Features

  • Database: Adds _softDeletedAt, _softDeletedById, and _softDeletedByType fields to all collection and single content types.
  • Content Manager & API: The delete action from the Content Manager and API behaves as a soft delete, setting the _softDeletedAt, _softDeletedById, and _softDeletedByType fields accordingly.
  • RBAC: Renames the delete action to Soft Delete and adds various admin permissions related to viewing, restoring, and permanently deleting soft deleted entries.
  • Soft Delete Explorer (Admin left Panel item): Displays soft deleted collection and single type entries and allows for their restoration or permanent deletion.

Summary

The Soft Delete plugin for Strapi Headless CMS adds the ability to perform soft deletes on entries. It modifies the database by adding specific fields to track soft deleted entries. The plugin also enhances the Content Manager and API functionality by implementing soft deletes instead of traditional deletes. Additionally, the RBAC features of the plugin allow for fine-grained control over viewing, restoring, and permanently deleting soft deleted entries. The Soft Delete Explorer in the Admin left panel provides a convenient interface for managing and restoring soft deleted entries. Overall, the Soft Delete plugin offers a comprehensive solution for implementing soft deletions in a Strapi project.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

strapi
Strapi

Strapi is an open source headless CMS that provides a customizable content management system and API for your projects. It allows you to manage content in a visual interface and use a REST or GraphQL API to retrieve the data.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.