Commit f898562c authored by Ilia Ryabokon's avatar Ilia Ryabokon

Sankore 1281

parent 8be8849e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment