Issue Task Under Review

#111625Remove group names from the principal

Oli Bartsch 11/26/26, 14:18 updated 11/26/26, 14:21

Description

The principal carries the titles of its groups (Principal::$groupNames) next to the group ids of its PrincipalContext. The only consumer is the branch of UserAspect that builds the aspect from a principal, and no code builds the user aspect from a principal: all callers pass a user authentication object.

The two lists are only matched by their order, and group titles are editorial data, not part of the identity.

Remove the group names from the principal and the principal branch from UserAspect. Building the user aspect from a principal returns with its first caller, together with a source for the group titles.

Reviews 1

History 01

  1. Gerrit Code Review pushed patch set 1 for main to change 98073 status New Under Review 11/26/26, 14:21