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

HttpCache purge is not being triggered when permissions change

    Details

      Description

      1. Add a new section (i.e private)
      2. Add a Folder and a new article inside
      3. Change article section to private
      4. Access the frontpage and verify the folder is present but the article isn't
      5. Allow anonymous user to Content/Read/Section( Standard, Private )
      6. Access the frontpage and verify the folder is present but the article isn't, when it should be

      The article will only appear if you clear Symfony Cache

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          This is due to the fact that we don't rely on user hash.

          Show
          Jérôme Vieilledent (Inactive) added a comment - This is due to the fact that we don't rely on user hash.
          Hide
          André Rømcke added a comment -

          But current ttl cache has a default of 60 seconds right? So after the ttl has expired it should be fine again?

          Show
          André Rømcke added a comment - But current ttl cache has a default of 60 seconds right? So after the ttl has expired it should be fine again?
          Hide
          Pedro Resende (Inactive) added a comment -

          André Rømcke: The ttl cache is indeed 60 seconds, at least it's value declared on vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml. Yes, the only problem is the "Latest News" block it's not updated.

          Show
          Pedro Resende (Inactive) added a comment - André Rømcke : The ttl cache is indeed 60 seconds, at least it's value declared on vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml. Yes, the only problem is the "Latest News" block it's not updated.
          Show
          André Rømcke added a comment - Merged in https://github.com/ezsystems/ezpublish-legacy/commit/646b38a6e3ad4dace1b9fad88e09f54f1a490e68
          Hide
          Joao Pingo (Inactive) added a comment -

          Tested on Master and 5.1 with tc-1755
          Tests Passed ... QA Approved

          Show
          Joao Pingo (Inactive) added a comment - Tested on Master and 5.1 with tc-1755 Tests Passed ... QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 54 minutes
                5h 54m