Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23214

User is logged out as result of role/policy changes (Memcache sessions)

    Details

      Description

      When using memcache-based session handler, changes to user roles/policies done through the admin siteaccess will cause the corresponding user to be logged out in the frontend.

      Steps to reproduce:
      1. On browser A, login to frontend with user a
      2. On browser B, login to admin interface.
        1. Assign a new role to user a, or modify one of the existing role by adding/removing policies

      Result: User A will be logged out.

      Config:

      framework:
          session:
              cookie_domain: .ezpublish.local
              save_path: %kernel.root_dir%/sessions
              handler_id: session.handler.memcache
       
      parameters:
          session_memcache_host: "127.0.0.1"
          session_memcache_port: 9001
          session_memcache_prefix: prefix_
          session_memcache_expire: 3600
       
      services:
          session.memcache:
              class: Memcache
              calls:
                   - [ addServer, [ %session_memcache_host%, %session_memcache_port% ]]
       
          session.handler.memcache:
              class: Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcacheSessionHandler
              arguments: [ @session.memcache, { prefix: %session_memcache_prefix%, expiretime: %session_memcache_expire% } ]
      

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          13m 54s 1 joao.inacio@ez.no 29/Jul/14 5:07 PM
          Confirmed Confirmed InputQ InputQ
          7m 48s 1 Paulo Lopes (Inactive) 29/Jul/14 5:15 PM
          InputQ InputQ Development Development
          8d 1h 17m 1 André Rømcke 06/Aug/14 6:33 PM
          Development Development Development Review Development Review
          44s 1 André Rømcke 06/Aug/14 6:33 PM
          Development Review Development Review Development Review done Development Review done
          21h 34m 1 André Rømcke 07/Aug/14 4:08 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          2m 52s 1 André Rømcke 07/Aug/14 4:11 PM
          Documentation Review done Documentation Review done QA QA
          42m 28s 1 rui.silva@ez.no 07/Aug/14 4:53 PM
          QA QA Closed Closed
          5d 1h 6m 1 rui.silva@ez.no 12/Aug/14 5:59 PM
          Closed Closed Reopened Reopened
          5d 18h 2m 5 rui.silva@ez.no 18/Aug/14 12:02 PM
          Reopened Reopened Closed Closed
          12s 5 rui.silva@ez.no 18/Aug/14 12:02 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Joao Inacio (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour, 30 minutes
                2d 1h 30m