diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-03 00:00:48 -0700 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-03 00:00:48 -0700 |
| commit | 2fc236177f70244101b285bde8ee6a77f779c0ce (patch) | |
| tree | 289e70a51240f236df3742403fb4eab360431500 /app/models/ability.rb | |
| parent | f40d4e6685ca749c69bfc480a747a430f6c9825f (diff) | |
| parent | 8589f0f4000095583a3a536f4986dd85a379669d (diff) | |
| download | gitlab-ce-2fc236177f70244101b285bde8ee6a77f779c0ce.tar.gz | |
Merge pull request #3801 from holdtotherod/feature/internally-public-projects
Internally public projects
Diffstat (limited to 'app/models/ability.rb')
| -rw-r--r-- | app/models/ability.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index eb7f89dcfc1..cad5a832978 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -37,7 +37,7 @@ class Ability elsif team.reporters.include?(user) rules << project_report_rules - elsif team.guests.include?(user) + elsif team.guests.include?(user) or project.public? rules << project_guest_rules end |
