1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/applications/people/editor
Austin McKinley b6999c7ef4 Move admin promotions to modular transactions
Summary: Continue clean up of super-old code. I am pretty proud of "defrocked", but would also consider "dethroned", "ousted", "unseated", "unmade", or "disenfranchised". I feel like there's a word for being kicked out of Hogwarts and having your wizarding powers revoked, but it is not leaping to mind.

Test Plan: Promoted/demoted users to/from admin, attempted to demote myself and observed preserved witty text, checked user timelines, checked feed, checked DB for sanity, including `user_logs`. I didn't test exposing this via Conduit to attempt promoting a user without having admin access.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D19891
2018-12-18 10:15:47 -08:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorUserEditEngine.php Move user approval to modular transactions 2018-12-12 16:12:23 -08:00
PhabricatorUserEditor.php Move admin promotions to modular transactions 2018-12-18 10:15:47 -08:00
PhabricatorUserTransactionEditor.php Update the "Notification Test" workflow to use more modern mechanisms 2018-12-10 16:02:11 -08:00