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

Clear role assignments cache when dealing with locations

    Details

      Description

      Cache items set in eZ\Publish\Core\Persistence\Cache\UserHandler::loadRoleAssignmentsByGroupId() are not cleared as it should be when calling API methods eZ\Publish\Core\Repository\UserService::assignUserToUserGroup() and eZ\Publish\Core\Repository\UserService::unassignUserToUserGroup()

      Therefore, stale permissions cache is used.

        Issue Links

          Activity

          Hide
          Petar Spanja (Inactive) added a comment -

          Passing to QA as requested.

          Show
          Petar Spanja (Inactive) added a comment - Passing to QA as requested.
          Hide
          Petar Spanja (Inactive) added a comment -

          The failure seems to be happening only on ezflow frontend.

          Show
          Petar Spanja (Inactive) added a comment - The failure seems to be happening only on ezflow frontend.
          Hide
          Petar Spanja (Inactive) added a comment -

          Pull request with additional fixes: https://github.com/ezsystems/ezpublish-kernel/pull/608

          Show
          Petar Spanja (Inactive) added a comment - Pull request with additional fixes: https://github.com/ezsystems/ezpublish-kernel/pull/608
          Hide
          Petar Spanja (Inactive) added a comment -
          Show
          Petar Spanja (Inactive) added a comment - Additional fix merged in ezpublish-kernel/master: https://github.com/ezsystems/ezpublish-kernel/commit/846f70d18a6009b47fffb68d470605ad7be61aa2
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Benjamin Choquet
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 3 days, 4 hours, 24 minutes Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - 3 days, 4 hours, 24 minutes Remaining Estimate - 1 minute
                3d 4h 24m