Homec4science

Add first-time-setup registration flow

Authored by epriestley <git@epriestley.com> on Jun 20 2013, 01:28.

Description

Add first-time-setup registration flow

Summary:
Ref T1536. Currently, when you install Phabricator you're dumped on the login screen and have to consult the documentation to learn about bin/accountadmin.

Instead, detect that an install is running first-time setup:

  • It has no configured providers; and
  • it has no user accounts.

We can safely deduce that such an install isn't configured yet, and let the user create an admin account from the web UI.

After they login, we raise a setup issue and lead them to configure authentication.

(This could probably use some UI and copy tweaks.)

Test Plan:
{F46738}

{F46739}

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Maniphest Tasks: T1536

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

Details

Committed
epriestley <git@epriestley.com>Jun 20 2013, 01:28
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc4d10fde2faa: Fix auth icon
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH32f6c88896c8: Add first-time-setup registration flow (authored by epriestley <git@epriestley.com>).Jun 20 2013, 01:28