diff options
| author | Angus MacArthur <amacarthur@blackberry.com> | 2013-05-02 16:27:40 -0400 |
|---|---|---|
| committer | Angus MacArthur <amacarthur@blackberry.com> | 2013-05-02 16:41:33 -0400 |
| commit | ec63804831d1a55171abfb7fc0894af20d4298e8 (patch) | |
| tree | 70b763f549274e1a5fb5fc87667e7327a90c3633 /app | |
| parent | de8df1be1a75cfde02a5a1d3f52a888b770c54e0 (diff) | |
| download | gitlab-ce-ec63804831d1a55171abfb7fc0894af20d4298e8.tar.gz | |
Made fixes suggested by @randx in pull request
See https://github.com/gitlabhq/gitlabhq/pull/3597#discussion-diff-4014638
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/ability.rb | 7 |
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 |
