HomePhabricator

Separate session management from PhabricatorUser

Description

Separate session management from PhabricatorUser

Summary: Ref T4310. Ref T3720. Session operations are currently part of PhabricatorUser. This is more tightly coupled than needbe, and makes it difficult to establish login sessions for non-users. Move all the session management code to a SessionEngine.

Test Plan:

  • Viewed sessions.
  • Regenerated Conduit certificate.
  • Verified Conduit sessions were destroyed.
  • Logged out.
  • Logged in.
  • Ran conduit commands.
  • Viewed sessions again.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4310, T3720

Differential Revision: https://secure.phabricator.com/D7962

Details

Provenance
epriestleyAuthored on Jan 14 2014, 9:22 PM
epriestleyPushed on Jan 14 2014, 9:22 PM
Reviewer
btrahan
Differential Revision
D7962: Separate session management from PhabricatorUser
Parents
rPc8d1d0634466: Icons for TagView
Branches
Unknown
Tags
Unknown
Tasks
T4310: Allow external users to establish real sessions
Restricted Maniphest Task

Event Timeline