Forum OpenACS Development: Configuration of File-storage

Collapse
Posted by Nima Mazloumi on
Just wondering if there is a way to tell file-storage not to delete an item but make it invisible. We have a case here where items and its revisions should never be deleted.
Collapse
Posted by Dave Bauer on
Nima,

I can think of two ways to do this.

1) Set live_revsion to NULL and make all the queries that list the files etc, check for the live revision.

2) Set the publish_status and make all the queries check for publish status.

I guess somewhre you'd need to add a parameter to set this behavior, deafult to off, and an administrative view to manage the items that are invisible.