Do not automatically trigger user authentication when the current_user service is accessed

Created on 21 May 2014, almost 11 years ago
Updated 18 March 2025, about 2 months ago

Problem/Motivation

Since #2180109: Change the current_user service to a proxy β†’ went in, a number of issues appeared which were caused by the current_user service triggering authentication as soon as it is accessed.

Proposed resolution

Let's go back and perform the authentication at exactly one predictable point in time from within a request subscriber and as a bonus remove the dependency of the current_user service from the authentication manager and the request.

Remaining tasks

User interface changes

API changes

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

user system

Created by

πŸ‡¨πŸ‡­Switzerland znerol

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024