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.18 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.17 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.16 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.15 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.14 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.13 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.12 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.11 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.9 app/policies/renalware/admin/cache_policy.rb