Sha256: 34ab94f7c17ceba9875d9ad7e97a0fb266eeb1f45fdce4b039edfe900eee890d

Contents?: true

Size: 334 Bytes

Versions: 125

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/reporting"

module Renalware
  module Reporting
    class AuditPolicy < BasePolicy
      def refresh?
        user_is_super_admin?
      end

      def edit?
        user_is_super_admin?
      end

      def update?
        user_is_super_admin?
      end
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.1.0 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.167 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.166 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.165 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.164 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.163 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.162 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.161 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.160 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.159 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.158 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.157 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.156 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.155 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.153 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.152 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.151 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.149 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.148 app/policies/renalware/reporting/audit_policy.rb