Sha256: 1f682a93fd6307549fb4bf1f872c94ac19ccf5bf78b52e549f8f4f901bdfc39b

Contents?: true

Size: 267 Bytes

Versions: 149

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/admin"

module Renalware
  module Admin
    class CachePolicy < BasePolicy
      def show?
        user_is_super_admin?
      end

      def destroy
        user_is_super_admin?
      end
    end
  end
end

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
renalware-core-2.0.62 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.61 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.60 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.58 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.57 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.56 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.55 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.54 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.53 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.52 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.51 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.50 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.48 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.47 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.46 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.45 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.44 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.43 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.42 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.41 app/policies/renalware/admin/cache_policy.rb