Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15500320
D16170.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
780 B
Referenced Files
None
Subscribers
None
D16170.id.diff
View Options
diff --git a/scripts/ssh/ssh-exec.php b/scripts/ssh/ssh-exec.php
--- a/scripts/ssh/ssh-exec.php
+++ b/scripts/ssh/ssh-exec.php
@@ -190,12 +190,14 @@
'P' => $user->getPHID(),
));
- if (!$user->canEstablishSSHSessions()) {
- throw new Exception(
- pht(
- 'Your account ("%s") does not have permission to establish SSH '.
- 'sessions. Visit the web interface for more information.',
- $user_name));
+ if (!$device) {
+ if (!$user->canEstablishSSHSessions()) {
+ throw new Exception(
+ pht(
+ 'Your account ("%s") does not have permission to establish SSH '.
+ 'sessions. Visit the web interface for more information.',
+ $user_name));
+ }
}
$workflows = id(new PhutilClassMapQuery())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 14, 5:22 PM (2 d, 15 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7718542
Default Alt Text
D16170.id.diff (780 B)
Attached To
Mode
D16170: Allow device-to-device SSH to establish SSH sessions
Attached
Detach File
Event Timeline
Log In to Comment