From 3e797e3fe1ea662b308ec2797172eed65a4ce532 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Sun, 21 Aug 2016 12:23:19 +0200 Subject: added possibility to restrict deletion to the user who originally uploaded the file --- storage-backend/config/config.inc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'storage-backend/config') diff --git a/storage-backend/config/config.inc.php b/storage-backend/config/config.inc.php index 9a96ad9..3b2f80a 100644 --- a/storage-backend/config/config.inc.php +++ b/storage-backend/config/config.inc.php @@ -12,5 +12,7 @@ return [ 'invalid_characters_in_filename' => ['/'], // Validity time of a delete token in seconds 'delete_token_validity' => 5 * 60, + // Flag to whether deletion is only allowed by creator or anybody + 'delete_only_by_creator' => true, ]; ?> \ No newline at end of file -- cgit v1.2.3