Sha256: f03808189834c164f2487616bfdc3536f336c69324b4acebcc84e1c71f6d31a0

Contents?: true

Size: 236 Bytes

Versions: 10

Compression:

Stored size: 236 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.7 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.5 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.4 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.3 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.2 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.1 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.0 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.0.pre.rc13 app/policies/renalware/admin/cache_policy.rb
renalware-core-2.0.0.pre.rc11 app/policies/renalware/admin/cache_policy.rb