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