0bf99f6557
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
7 lines
151 B
Ruby
7 lines
151 B
Ruby
module Gitlab
|
|
class GitAccessWiki < GitAccess
|
|
def change_allowed?(user, project, change)
|
|
user.can?(:write_wiki, project)
|
|
end
|
|
end
|
|
end
|