Skip to content

Commit

Permalink
Fix reviewers abilities list
Browse files Browse the repository at this point in the history
  • Loading branch information
simonprev committed Dec 22, 2023
1 parent 3a3cb1a commit 6b9f7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accent/auth/role_abilities.ex
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule Accent.RoleAbilities do
def actions_for(@admin_role, target), do: add_actions_with_target(@admin_actions, @admin_role, target)
def actions_for(@bot_role, target), do: add_actions_with_target(@bot_actions, @bot_role, target)
def actions_for(@developer_role, target), do: add_actions_with_target(@developer_actions, @developer_role, target)
def actions_for(@reviewer_role, target), do: add_actions_with_target(@any_actions, @reviewer_role, target)
def actions_for(@reviewer_role, target), do: add_actions_with_target(@reviewer_actions, @reviewer_role, target)
def actions_for(@translator_role, target), do: add_actions_with_target(@any_actions, @translator_role, target)

defp add_actions_with_target(actions, role, target) do
Expand Down

0 comments on commit 6b9f7c3

Please sign in to comment.