1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src
epriestley 557e508656 Allow restriction of permitted email domains
Summary:
Allow allowed email addresses to be restricted to certain domains. This implies email must be verified.

This probably isn't QUITE ready for prime-time without a few other tweaks (better administrative tools, notably) but we're nearly there.

Test Plan:
  - With no restrictions:
    - Registered with OAuth
    - Created an account with accountadmin
    - Added an email
  - With restrictions:
    - Tried to OAuth register with a restricted address, was prompted to provide a valid one.
    - Tried to OAuth register with a valid address, worked fine.
    - Tried to accountadmin a restricted address, got blocked.
    - Tried to accountadmin a valid address, worked fine.
    - Tried to add a restricted address, blocked.
    - Tried to add a valid address, worked fine.
    - Created a user with People with an invalid address, got blocked.
    - Created a user with People with a valid address, worked fine.

Reviewers: btrahan, csilvers

Reviewed By: csilvers

CC: aran, joe, csilvers

Maniphest Tasks: T1184

Differential Revision: https://secure.phabricator.com/D2581
2012-05-26 06:04:35 -07:00
..
aphront dark console - introduce "request log" section 2012-05-25 10:14:17 -07:00
applications Allow restriction of permitted email domains 2012-05-26 06:04:35 -07:00
docs Add an abstraction for preventing the 1+N queries problem 2012-05-25 13:09:42 -07:00
infrastructure Destroy fixture explicitly 2012-05-24 16:09:42 -07:00
storage Add an abstraction for preventing the 1+N queries problem 2012-05-25 13:09:42 -07:00
view dark console - introduce "request log" section 2012-05-25 10:14:17 -07:00
__celerity_resource_map__.php Toggle DarkConsole request log by keyboard shortcut 2012-05-25 22:06:04 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Consolidate user editing code 2012-05-25 07:30:44 -07:00