audit_log_policy.rb 126 B

1234567
  1. # frozen_string_literal: true
  2. class AuditLogPolicy < ApplicationPolicy
  3. def index?
  4. role.can?(:view_audit_log)
  5. end
  6. end