Commit 04f1bcef authored by Valery Sizov's avatar Valery Sizov

[CE upstream] fixes after merge

parent ef59be4d
......@@ -706,7 +706,7 @@ Metrics/ClassLength:
# of test cases needed to validate a method.
Metrics/CyclomaticComplexity:
Enabled: true
Max: 17
Max: 18
# Limit lines to 80 characters.
Metrics/LineLength:
......
......@@ -19,7 +19,7 @@ class Ability
when Namespace then namespace_abilities(user, subject)
when GroupMember then group_member_abilities(user, subject)
when ProjectMember then project_member_abilities(user, subject)
when User then user_abilities
when User then user_abilities
else []
end.concat(global_abilities(user))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment