about summary refs log tree commit diff
path: root/app/policies/audit_log_policy.rb
blob: f78aa9a8e011e65b15c6415e67bed00150b1ed0a (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class AuditLogPolicy < ApplicationPolicy
  def index?
    role.can?(:view_audit_log)
  end
end