Ticket #769 (new Enhancement)

Opened 6 years ago

Last modified 5 years ago

Extend FilesService REST API to be able to delete file and folder topics

Reported by: carolina Owned by:
Priority: Minor Milestone:
Component: DeepaMehta Standard Distribution Version: 4.5
Keywords: Cc:
Complexity: 3 Area:
Module:

Description

Extend FilesService? in order to be able to delete File Topic and Folder Topic and its associated file(s) in the file system.

Change History

comment:1 Changed 6 years ago by carolina

  • Summary changed from Extend FilesService to be able to delete file and folder topics to Extend FilesService REST API to be able to delete file and folder topics

comment:2 Changed 6 years ago by JuergeN

Yes, that's really needed, when you want to delete a file through the DM webclient. This is kind of crucial when DM should be used as a "real" interface to the OS. I think the question is, if deleting from DM does also mean to delete something from the storage. But I would argue that if I really want to use DM for my work, then of course I want to delete files not just from the DM DB but also from the filesystem. The operation then must include, that all objects inside DM that are linked to that file (FileType?) are deleted as well.

If we do not feel fully comfortable with really deleting from the filesystem, we could also either move them to a TRASH folder, or prefix or suffix them, so that they are just marked deleted, but cannot be accessed by DM anymore.

My vote would be for a TRASH folder. Thats the common way in file systems. Method should of course work both for files and directories.

comment:3 Changed 5 years ago by jri

  • Milestone Release 4.6 deleted
Note: See TracTickets for help on using tickets.