Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorUserEditor

final class PhabricatorUserEditor
Phorge Technical Documentation (People)

Editor class for creating and adjusting users. This class guarantees data integrity and writes logs when user information changes.

Tasks

Configuration

No methods for this task.

Creating and Editing Users

Editing Roles

Adding, Removing and Changing Email

Internals

Other Methods

Methods

final public function setActor($actor)
Inherited

This method is not documented.
Parameters
PhabricatorUser$actor
Return
wild

final public function getActor()
Inherited

This method is not documented.
Return
wild

final public function requireActor()
Inherited

This method is not documented.
Return
wild

final public function setExcludeMailRecipientPHIDs($phids)
Inherited

This method is not documented.
Parameters
$phids
Return
wild

final protected function getExcludeMailRecipientPHIDs()
Inherited

This method is not documented.
Return
wild

public function createNewUser($user, $email, $allow_reassign)

This method is not documented.
Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
$allow_reassign
Return
wild

public function makeSystemAgentUser($user, $system_agent)

This method is not documented.
Parameters
PhabricatorUser$user
$system_agent
Return
wild

public function makeMailingListUser($user, $mailing_list)

This method is not documented.
Parameters
PhabricatorUser$user
$mailing_list
Return
wild

public function addEmail($user, $email)

This method is not documented.
Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
Return
wild

public function removeEmail($user, $email)

This method is not documented.
Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
Return
wild

public function changePrimaryEmail($user, $email)

This method is not documented.
Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
Return
wild

public function verifyEmail($user, $email)

Verify a user's email address.

This verifies an individual email address. If the address is the user's primary address and their account was not previously verified, their account is marked as email verified.

Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
Return
wild

public function reassignEmail($user, $email)

Reassign an unverified email address.

Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
Return
wild

private function willAddEmail($email)

This method is not documented.
Parameters
PhabricatorUserEmail$email
Return
wild

public function revokePasswordResetLinks($user)

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

private function didVerifyEmail($user, $email)

This method is not documented.
Parameters
PhabricatorUser$user
PhabricatorUserEmail$email
Return
wild