Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14038556
D7356.id16566.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7356.id16566.diff
View Options
Index: src/applications/conduit/call/ConduitCall.php
===================================================================
--- src/applications/conduit/call/ConduitCall.php
+++ src/applications/conduit/call/ConduitCall.php
@@ -87,7 +87,8 @@
$this->request->setUser($user);
if ($this->shouldRequireAuthentication()) {
- if (!$user->isLoggedIn()) {
+ // TODO: As per below, this should get centralized and cleaned up.
+ if (!$user->isLoggedIn() && !$user->isOmnipotent()) {
throw new ConduitException("ERR-INVALID-AUTH");
}
Index: src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
===================================================================
--- src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
+++ src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
@@ -54,7 +54,7 @@
'corpus' => $message,
'partial' => true,
));
- $call->setUser($user);
+ $call->setUser(PhabricatorUser::getOmnipotentUser());
$result = $call->execute();
$field_values = $result['fields'];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 12, 12:24 AM (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6730482
Default Alt Text
D7356.id16566.diff (1 KB)
Attached To
Mode
D7356: Fix daemon auth issue
Attached
Detach File
Event Timeline
Log In to Comment