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

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

module AuditEvents
  class DefinitionPolicy < ::BasePolicy
    condition(:read_audit_events_definitions_enabled) do
      true
    end

    rule { read_audit_events_definitions_enabled }.enable :audit_event_definitions
  end
end