Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorSSHKeysSettingsPanel.php
| <?php | <?php | ||||
| final class PhabricatorSSHKeysSettingsPanel extends PhabricatorSettingsPanel { | final class PhabricatorSSHKeysSettingsPanel extends PhabricatorSettingsPanel { | ||||
| public function isEditableByAdministrators() { | public function isEditableByAdministrators() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'ssh'; | return 'ssh'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('SSH Public Keys'); | return pht('SSH Public Keys'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroupKey() { | ||||
| return pht('Authentication'); | return PhabricatorSettingsAuthenticationPanelGroup::PANELGROUPKEY; | ||||
| } | } | ||||
| public function isEnabled() { | public function isEnabled() { | ||||
| if ($this->getUser()->getIsMailingList()) { | if ($this->getUser()->getIsMailingList()) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| return true; | return true; | ||||
| Show All 35 Lines | |||||