diff --git a/core/request.cpp b/core/request.cpp index c317726..3ee7350 100755 --- a/core/request.cpp +++ b/core/request.cpp @@ -760,6 +760,11 @@ return true; bool Request::CanRemove(const Item & item) { + // !! temporarily (we're waiting for the sticky bit to be implemented) + // not logged users cannot remove anything + if( !request.session->puser ) + return false; + if( item.parent_id == -1 ) { // rm for the root dir