From 8a2df2ef04e64226a8a959b3b04b56f6a85a1b16 Mon Sep 17 00:00:00 2001 From: llj Date: Fri, 28 Jul 2017 16:34:35 +0800 Subject: [PATCH] [repo history] snapshot label: modification --- seahub/views/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/views/__init__.py b/seahub/views/__init__.py index 3adc017289..d3bb88023b 100644 --- a/seahub/views/__init__.py +++ b/seahub/views/__init__.py @@ -540,7 +540,7 @@ def repo_history(request, repo_id): c.show = False if new_merge_with_no_conflict(c) else True show_label = False - if ENABLE_REPO_SNAPSHOT_LABEL and user_perm == 'rw': + if ENABLE_REPO_SNAPSHOT_LABEL: show_label = True snapshot_labels = RevisionTags.objects.get_all_tags_by_repo(repo_id) for c in commits: