diff options
Diffstat (limited to 'app/helpers/blob_helper.rb')
-rw-r--r-- | app/helpers/blob_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 9c09ddafbf1..cc5ae32856a 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -353,4 +353,8 @@ module BlobHelper def suggest_pipeline_commit_cookie_name "suggest_gitlab_ci_yml_commit_#{@project.id}" end + + def human_access + @project.team.human_max_access(current_user&.id).try(:downcase) + end end |