Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus MacArthur <amacarthur@blackberry.com>2013-05-03 00:27:40 +0400
committerAngus MacArthur <amacarthur@blackberry.com>2013-05-03 00:41:33 +0400
commitec63804831d1a55171abfb7fc0894af20d4298e8 (patch)
tree70b763f549274e1a5fb5fc87667e7327a90c3633 /app/models/ability.rb
parentde8df1be1a75cfde02a5a1d3f52a888b770c54e0 (diff)
Made fixes suggested by @randx in pull request
See https://github.com/gitlabhq/gitlabhq/pull/3597#discussion-diff-4014638
Diffstat (limited to 'app/models/ability.rb')
-rw-r--r--app/models/ability.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 0c5fbc2e5e7..eb7f89dcfc1 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -60,15 +60,16 @@ class Ability
:read_note,
:write_project,
:write_issue,
- :write_note,
- :fork_project
+ :write_note
]
end
def project_report_rules
project_guest_rules + [
:download_code,
- :write_snippet
+ :write_snippet,
+ :fork_project
+
]
end