|
|
|
@ -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 |
|
|
|
|