             else
                 dialog.find("a[href=#delete-file]").hide()
 
-            if ENABLE_PUBLIC and not @public_access and not (obj.fullname == '.snapshots' or misc.startswith(obj.fullname,'.snapshots/'))
+            if not @public_access and not (obj.fullname == '.snapshots' or misc.startswith(obj.fullname,'.snapshots/'))
                 @is_path_published
                     path : obj.fullname
                     cb   : (err, pub) =>


        create_file = (ext) =>
            p = path(ext)
            ext = misc.filename_extension(p)

            if ext == 'term'

            name = $.trim(@new_file_tab_input.val())
            if name.length == 0
                return ''
            for bad_char in BAD_FILENAME_CHARACTERS
                if name.indexOf(bad_char) != -1
                    bootbox.alert("Filenames must not contain the character '#{bad_char}'.")
                    return ''
            s = $.trim(@new_file_tab.find(".project-new-file-path").text() + name)
            if ext?
                if misc.filename_extension(s) != ext
