Sha256: 111e4e33c7d3fd2720a7091816b690dae6d9a89ddd9fbca447f37f03547bac6d

Contents?: true

Size: 617 Bytes

Versions: 8

Compression:

Stored size: 617 Bytes

Contents

module Reactor
  class Session
    module Observers
      class PermissionCacheInvalidator
        def update(user_name, new_login = false)
          Reactor::Cache::Permission.instance.invalidate(user_name) if new_login
        end
      end

      class UserCacheInvalidator
        def update(user_name, new_login = false)
          Reactor::Cache::User.instance.invalidate(user_name) if new_login
        end
      end

      class CmsAccessDataPropagator
        def update(user_name, _new_login = false)
          Reactor::Configuration.xml_access[:username] = user_name
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
infopark_reactor-1.29.1 lib/reactor/session/observers.rb
infopark_reactor-1.29.0 lib/reactor/session/observers.rb
infopark_reactor-1.28.0 lib/reactor/session/observers.rb
infopark_reactor-1.27.0.rc10 lib/reactor/session/observers.rb
infopark_reactor-1.27.0.rc9 lib/reactor/session/observers.rb
infopark_reactor-1.27.0.rc8 lib/reactor/session/observers.rb
infopark_reactor-1.27.0.rc7 lib/reactor/session/observers.rb
infopark_reactor-1.27.0.rc4 lib/reactor/session/observers.rb