Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F73096
D7356.diff
All Users
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.diff
View Options
diff --git a/src/applications/conduit/call/ConduitCall.php b/src/applications/conduit/call/ConduitCall.php
--- a/src/applications/conduit/call/ConduitCall.php
+++ b/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");
}
diff --git a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
--- a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
+++ b/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/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/zk/pa/do6hyj4k27n7n2sh
Default Alt Text
D7356.diff (1 KB)
Attached To
Mode
D7356: Fix daemon auth issue
Attached
Detach File
Event Timeline
Log In to Comment