gitlab-org--gitlab-foss/app/policies/system_hook_policy.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
161 B
Ruby
Raw Normal View History

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