From f898562c9aa34ed30b031ff8feee836e68c6e43c Mon Sep 17 00:00:00 2001 From: Ilia Ryabokon Date: Mon, 29 Oct 2012 15:13:47 +0300 Subject: [PATCH] Sankore 1281 --- src/board/UBFeaturesController.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index 43ce18e1..2af9526f 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -268,7 +268,9 @@ bool UBFeature::isDeletable() const || elementType == FEATURE_VIDEO || elementType == FEATURE_IMAGE || elementType == FEATURE_FLASH - || elementType == FEATURE_FOLDER; + || elementType == FEATURE_FOLDER + //Ilia. Just a hotfix. Permission mechanism for UBFeatures should be reworked + || getVirtualPath().startsWith("/root/Applications/Web"); } bool UBFeature::inTrash() const