can_edit used to supress upload script when editing is not allowed