Skip to content
Snippets Groups Projects
Verified Commit fc8b9edd authored by magicfelix's avatar magicfelix
Browse files

Fix permission name

parent 75e2def7
No related branches found
No related tags found
No related merge requests found
Pipeline #97091 failed
......@@ -226,7 +226,7 @@ class RankingCategoryCreateView(PermissionRequiredMixin, AdvancedCreateView):
model = RankingCategory
form_class = RankingCategoryForm
permission_required = "abi.add_abiaroup_rule"
permission_required = "abi.add_rankingcategory_rule"
template_name = "abi/ranking/ranking_category/create.html"
success_url = reverse_lazy("ranking_categories")
success_message = _("The ranking category has been created.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment