openmicroscopy/openmicroscopy — pull request #310 by joshmoore (2012-08-24 11:10:10+00:00)
Title: 6905 del ofile

See: https://trac.openmicroscopy.org.uk/ome/ticket/6905

This commit allows deleting original files that are linked to jobs. I've always avoided allowing this, but it's necessary to allow deleting scripts. To test you can do:

```
bin/omero script launch ID_OF_BATCH_EXPORT IDs=0
bin/omero delete /OriginalFile:ID_OF_STDERR
```

or even:

```
bin/omero delete /OriginalFile:ID_OF_BATCH_EXPORT
```

This will require some discussion. One way we could prevent the deletion of stdout and stderr (if we wanted to) would be to require:

```
bin/omero delete /ScriptFile ...
```

or similar.