Skip to content

Commit 7a902dc

Browse files
committed
RfCs: Re-enable admin menu for admins
Amends b375e1a
1 parent e64138d commit 7a902dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/request_for_comments/show.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
span.fa-solid.fa-chevron-down.collapse-button
6767
pre = testrun.log || t('request_for_comments.no_output')
6868

69-
- if current_user.teacher? && user.is_a?(ExternalUser)
69+
- if (current_user.admin? || current_user.teacher?) && user.is_a?(ExternalUser)
7070
= render('admin_menu')
7171

7272
hr

0 commit comments

Comments
 (0)