Skip to content

Commit

Permalink
Fix bug wrong perm check in problem view (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
leduythuccs authored Feb 13, 2025
1 parent fb14fb2 commit f40616e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/problem/problem.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h2 style="display: inline-block">{{ title }}</h2>
</div>
{% endif %}

{% if perms.judge.edit_all_problem %}
{% if perms.judge.edit_type_group_all_problem %}
<div><a href="{{ url('problem_edit_type_group', problem.code) }}">{{ _('Edit type group') }}</a></div>
{% endif %}

Expand Down

0 comments on commit f40616e

Please sign in to comment.