Cache user primary group detection during Checkout

Components

Labels

Description

  1. create "\UserHelper::getPrimaryGroup($user_id)" method detecting the user's primary group, which will cache results in the Memcache;

  2. use the "\UserHelper::getPrimaryGroup" method everywhere, where the "Users.PrimaryGroupId" column of the user is queried.

Context Information

None

Additional information (do not use)

None

Activity

Show:

[API] Administrator November 22, 2023 at 8:51 AM

User committed a fix to 5.2.x. Commit Message:

Fixes - Cache user primary group detection during Checkout

Differential Revision: http://qa.in-portal.org/D447

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Added

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

6h 30m logged

Story Points

Fix versions

Created July 6, 2023 at 5:24 PM
Updated December 29, 2024 at 11:25 PM
Resolved November 22, 2023 at 8:51 AM