summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-16 12:46:33 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-16 12:46:33 +0200
commit9d8afa222c678a2222f5219458759897089d7dad (patch)
tree12ee1e84c0b24929ef94acf7d01e2bf32a8fcd50 /app/policies
parenteadfc3a156571a2e8188fb8dd8946776a2d1d0ba (diff)
downloadgitlab-ce-9d8afa222c678a2222f5219458759897089d7dad.tar.gz
Improve code comments
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/project_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index ce686af2ade..00c4c7b1440 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -64,7 +64,7 @@ class ProjectPolicy < BasePolicy
can! :read_deployment
end
- # Permissions given when an user is direct member of a group
+ # Permissions given when an user is team member of a project
def team_member_reporter_access!
can! :build_download_code
can! :build_read_container_image