Make Masquerade::getMasquerade public

Created on 28 January 2025, 2 months ago

Problem/Motivation

It would be helpful if I could get the UID of the masquerading user from the masquerade service instead of having to also use the session.

The best way to get whether the user is masquerading is:

if (!$this->masquerade->isMasquerading()) {

However, if I also want to get the UID, I have to use the session, which kind of ruins the point of using the Masquerade service.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024