1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/conduit/query
epriestley 2805ba6f42 Add by-caller lookup to call logs, plus viewer calls
Summary:
Ref T9980. By default, show the viewer //their// calls.

Make it easy to find their own deprecated calls.

I don't like the word "My" but couldn't come up with anything better that didn't feel like a big loss of clarity.

The permissions on this log are also a little weird: non-admins can see everyone else's calls.

I think we should eventually lock that down, but plan to keep it this way for now:

First, a lot of your calls end up with no caller set right now, because we don't set the caller early enough in the process so a lot differnet types of errors can leave us with no user on the log. Fixing that isn't trivial, and users may reasonably want to access to these "no caller" logs to check for errors or debug stuff.

Second, none of it is really that sensitive?

Third, it's reasonable for users to want to look at bots?

I'd plan to maybe do this eventually:

  - Make the caller get populated more often after auth code is simplified.
  - Only let users look at their calls and maybe bot calls and anonymous calls.
  - Let admins look at everything.

But for now everyone can see everything.

Test Plan: {F1025867}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9980

Differential Revision: https://secure.phabricator.com/D14782
2015-12-14 15:25:49 -08:00
..
ConduitResultSearchEngineExtension.php Add a "content" attachment for Pastes for Conduit API 2015-12-14 11:53:32 -08:00
PhabricatorConduitLogQuery.php Add by-caller lookup to call logs, plus viewer calls 2015-12-14 15:25:49 -08:00
PhabricatorConduitLogSearchEngine.php Add by-caller lookup to call logs, plus viewer calls 2015-12-14 15:25:49 -08:00
PhabricatorConduitMethodQuery.php Have EditEngine API methods provide the correct application to Conduit 2015-11-16 10:02:50 -08:00
PhabricatorConduitSearchEngine.php Document how to use harbormaster.sendmessage to report lint and unit results 2015-08-04 13:05:52 -07:00
PhabricatorConduitTokenQuery.php Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00