summaryrefslogtreecommitdiff
path: root/app/models/ability.rb
diff options
context:
space:
mode:
authorHan Loong Liauw <hanloongliauw@gmail.com>2015-10-17 09:32:31 +1100
committerHan Loong Liauw <hanloongliauw@gmail.com>2015-10-17 09:32:31 +1100
commit02e8beaa0b83a343752ebf60e4fca4482c17f9e3 (patch)
treee00847b274daa7fa03fd7a4647154cc2e4d98e85 /app/models/ability.rb
parent0bea5ced8bf4c9306f8f8e912313731a43d16f4c (diff)
parentc856a7a5934fba13598be09507c2090888f57a39 (diff)
downloadgitlab-ce-02e8beaa0b83a343752ebf60e4fca4482c17f9e3.tar.gz
Merge branch 'master' into remove-forks-from-projects-settings
Diffstat (limited to 'app/models/ability.rb')
-rw-r--r--app/models/ability.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 11ada46610b..b72178fa126 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -41,6 +41,7 @@ class Ability
:read_project_member,
:read_merge_request,
:read_note,
+ :read_build,
:download_code
]
@@ -127,6 +128,7 @@ class Ability
:read_project_member,
:read_merge_request,
:read_note,
+ :read_build,
:create_project,
:create_issue,
:create_note
@@ -135,6 +137,8 @@ class Ability
def project_report_rules
project_guest_rules + [
+ :create_commit_status,
+ :read_commit_statuses,
:download_code,
:fork_project,
:create_project_snippet,