1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00
phorge-phorge/src/applications/config/option
epriestley d6d3ad6f80 Allow administrators to get a list of users who don't have MFA configured
Summary:
Fixes T12400. Adds a "Has MFA" filter to People so you can figure out who you need to harass before turning on "require MFA".

When you run this as a non-admin, you don't currently actually hit the exception: the query just doesn't work. I think this is probably okay, but if we add more of these it might be better to make the "this didn't work" more explicit since it could be confusing in some weird edge cases (like, an administrator sending a non-administrator a link which they expect will show the non-administrator some interesting query results, but they actually just get no constraint). The exception is more of a fail-safe in case we make application changes in the future and don't remember this weird special case.

Test Plan:
  - As an administrator and non-administrator, used People and Conduit to query MFA, no-MFA, and don't-care-about-MFA. These queries worked for an admin and didn't work for a non-admin.
  - Viewed the list as an administrator, saw MFA users annotated.
  - Viewed config help, clicked link as an admin, ended up in the right place.

{F4093033}

{F4093034}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12400

Differential Revision: https://secure.phabricator.com/D17500
2017-03-15 17:49:01 -07:00
..
PhabricatorAccessLogConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorApplicationConfigOptions.php Correct various spelling errors 2016-08-15 10:47:51 -07:00
PhabricatorAuthenticationConfigOptions.php Clarify that "account.editable" no longer extends to profile pictures 2017-02-06 08:37:26 -08:00
PhabricatorAWSConfigOptions.php Add amazon-ses.endpoint configuration 2016-03-23 12:28:59 -07:00
PhabricatorClusterConfigOptions.php Don't apply security.require-https to intracluster requests 2016-04-13 12:51:41 -07:00
PhabricatorConfigOption.php Shuffle various parts of the config edit UI around 2015-09-03 12:15:30 -07:00
PhabricatorCoreConfigOptions.php Add setup checks for unused homepage options 2016-08-25 12:08:02 -07:00
PhabricatorDeveloperConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorExtendingPhabricatorConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorMailgunConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorMetaMTAConfigOptions.php Fix some outdated help text about "Reply All" in "metamta.one-mail-per-recipient" 2017-02-10 07:17:10 -08:00
PhabricatorMySQLConfigOptions.php Remove "mysql.configuration-provider" configuration option 2016-11-22 09:24:46 -08:00
PhabricatorNotificationConfigOptions.php Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
PhabricatorPHDConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorPHPMailerConfigOptions.php Make base64 the default SMTP encoding 2016-06-09 13:22:17 -07:00
PhabricatorPhurlConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorRecaptchaConfigOptions.php Implement new reCAPTCHA interface 2017-02-03 20:06:29 +00:00
PhabricatorSecurityConfigOptions.php Allow administrators to get a list of users who don't have MFA configured 2017-03-15 17:49:01 -07:00
PhabricatorSendGridConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorSMSConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorSyntaxHighlightingConfigOptions.php Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
PhabricatorTranslationsConfigOptions.php Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
PhabricatorUIConfigOptions.php Make new logo and wordmark more reasonably configurable by human users 2016-08-07 12:00:21 -07:00