Sha256: 82608b6031f1e6210e3e8759b8b6c1670a89f238b70abdab646bbbb7c92b910e

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

require 'refinery/core/nil_user'

module Refinery
  module Core
    class AuthorisationAdapter < Zilch::Authorisation::Adapters::Default

      def current_user
        @current_user ||= Refinery::Core::NilUser.new
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 lib/refinery/core/authorisation_adapter.rb
refinerycms-core-4.0.2 lib/refinery/core/authorisation_adapter.rb
refinerycms-core-4.0.1 lib/refinery/core/authorisation_adapter.rb