summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-02-18 16:39:59 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-02-18 16:39:59 -0500
commit924463907db6dcb284b3dc376a66986b4ca369aa (patch)
treed0ea9c82ef44507715342bca3b054f8d9bf13747 /app
parentc04e22fba8d130a58f498ff48127712d7dae17ee (diff)
downloadgitlab-ce-924463907db6dcb284b3dc376a66986b4ca369aa.tar.gz
Allow `ProjectTeam#human_max_access` to return "Owner"rs-show-owner-label
Diffstat (limited to 'app')
-rw-r--r--app/models/project_team.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb
index 9f380a382cb..9629c7e1bb9 100644
--- a/app/models/project_team.rb
+++ b/app/models/project_team.rb
@@ -136,7 +136,7 @@ class ProjectTeam
end
def human_max_access(user_id)
- Gitlab::Access.options.key max_member_access(user_id)
+ Gitlab::Access.options_with_owner.key(max_member_access(user_id))
end
# This method assumes project and group members are eager loaded for optimal