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

git_access_wiki.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9f0eb3be20f5ed85ef0f16a5a0ea68601999714f (plain)
1
2
3
4
5
6
7
module Gitlab
  class GitAccessWiki < GitAccess
    def change_allowed?(user, project, change)
      user.can?(:write_wiki, project)
    end
  end
end