d51eb05c05
Add support share Recycle Bin, the end user can soft delete share to Recycle Bin, and can restore the share within 7 days, otherwise the share will be deleted automatically. DocImpact APIImpact Partially-Implements: blueprint manila-share-support-recycle-bin Change-Id: Ic838eec5fea890be6513514053329b1d2d86b3ba
18 lines
858 B
YAML
18 lines
858 B
YAML
---
|
|
features:
|
|
- |
|
|
Manila now supports a "recycle bin" for shares. End users can soft-delete
|
|
their shares and have the ability to restore them for a specified interval.
|
|
This interval defaults to 7 days and is configurable via
|
|
"soft_deleted_share_retention_time". After this time has elapsed,
|
|
soft-deleted shares are automatically cleaned up.
|
|
upgrade:
|
|
- |
|
|
The share entity now contains two new fields: ``is_soft_deleted`` and
|
|
``scheduled_to_be_deleted_at``. The ``is_soft_deleted`` will be used to
|
|
identify shares in the recycle bin.. The ``scheduled_to_be_deleted_at``
|
|
field to show when the share will be deleted automatically. A new parameter
|
|
called ``is_soft_deleted`` was added to the share list API, and users will
|
|
be able to query shares and filter out the ones that are currently in the
|
|
recycle bin.
|