Problem/Motivation

When rendering an entity, it is important to use the correct account to ensure that private data is or is not shown. Sometimes the target user is not the same as the current user, so we need to switch.

Proposed resolution

Switch account in Email::render() if ::appendBodyEntity() has been called.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

AdamPS created an issue. See original summary.

adamps’s picture

Title: Add functions for account switching » Perform account switching
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new4.58 KB

  • AdamPS committed 8d348bb on 1.x
    Issue #3274874 by AdamPS: Perform account switching
    
adamps’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.