e122e14ac6
[master]Fixed ability to comment on and edit/delete comments on locked or confidential issues See merge request gitlab/gitlabhq!2612
7 lines
152 B
Ruby
7 lines
152 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CommitPolicy < BasePolicy
|
|
delegate { @subject.project }
|
|
|
|
rule { can?(:download_code) }.enable :read_commit
|
|
end
|