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

system_hook_policy.rb « policies « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec28d39a5fa8c96d870a30e307feeca020f65e98 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class SystemHookPolicy < ::BasePolicy
  rule { admin }.policy do
    enable :read_web_hook
    enable :destroy_web_hook
  end
end