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.0.127 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.126 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.125 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.124 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.123 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.121 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.120 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.119 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.118 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.117 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.116 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.115 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.113 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.112 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.111 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.110 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.109 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.108 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.106 app/policies/renalware/reporting/audit_policy.rb
renalware-core-2.0.105 app/policies/renalware/reporting/audit_policy.rb