anchor.diff:        target = treeview.get_node('#' + targetId);
         if (targetId == getToValidateFolderId() || targetId == getCurrentNodeId()) {
           canBeDropped = false;
  -      } else if (target.type === 'root' && arePublicationsOnRootAllowed()) {
  -        var profile = getUserProfile(targetId);
  -        if (profile != "<%=SilverpeasRole.user.toString()%>") {
  -          canBeDropped = true;
  -        }
  -      } else {
  +      } else if (target.type !== 'root' || arePublicationsOnRootAllowed()) {
           var profile = getUserProfile(targetId);
           if (profile != "<%=SilverpeasRole.user.toString()%>") {
             canBeDropped = true;
  
positive.code:               if (node.text) {
                  // this is the root
                  node.text = "<%=EncodeHelper.javaStringToHtmlString(componentLabel)%>";
                  if (node.attr['nbItems'] >= 0) {
                    node.text = node.text + " ("+node.attr['nbItems']+")";
                  }
                  <% if (kmeliaScc.isOrientedWebContent()) { %>
                  node.li_attr = {class: node.attr['status']};
                  <% } %>
  
negative.code:   }
  }
  
  function decorateNodeName(node) {
    console.debug(node);
    <%-- This data is filled only if the application parameter 'displayNB' is activated --%>
    var nbPublicationsTheNodeContains = node.attr['nbItems'];
    if (nbPublicationsTheNodeContains) {
      node.text = node.text + " (" + nbPublicationsTheNodeContains + ")";
    }
  }
  
  function spreadNbItems(children) {
  	if (children) {
  		for(var i = 0; i < children.length; i++) {
  