Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/application/PhabricatorAuthApplication.php
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | return array( | ||||
'/emailverify/(?P<code>[^/]+)/' | '/emailverify/(?P<code>[^/]+)/' | ||||
=> 'PhabricatorEmailVerificationController', | => 'PhabricatorEmailVerificationController', | ||||
'/logout/' => 'PhabricatorLogoutController', | '/logout/' => 'PhabricatorLogoutController', | ||||
); | ); | ||||
} | } | ||||
protected function getCustomCapabilities() { | |||||
return array( | |||||
AuthManageProvidersCapability::CAPABILITY => array( | |||||
epriestley: This should `default` to `PhabricatorPolicies::POLICY_ADMIN` here. | |||||
'default' => PhabricatorPolicies::POLICY_ADMIN, | |||||
), | |||||
); | |||||
} | |||||
} | } |
This should default to PhabricatorPolicies::POLICY_ADMIN here.