Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15386488
D7356.id.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.id.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
Sun, Mar 16, 12:42 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704739
Default Alt Text
D7356.id.diff (1 KB)
Attached To
Mode
D7356: Fix daemon auth issue
Attached
Detach File
Event Timeline
Log In to Comment