mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 15:30:58 +01:00
e7a7e43104
Summary: Ref T603. See inlines for an explanation. The case where I hit this was loading the "Pending Differential Revisions" panel in Diffusion when logged out, after making a repository public. What happens is that we load 10 revisions (say, D1 .. D10) but the user can't see any of them. We then try to load the next 10, but since the pagination is ordered by date modified, we need to base the next query on the modified date of the last thing we loaded (D10). However, since we use the viewer's policies to load that cursor object, it fails to load, and then we just issue the same query over and over again, loading D1 .. D10 until we run out of execution time. Test Plan: Interface now loads correctly. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T603 Differential Revision: https://secure.phabricator.com/D7059 |
||
---|---|---|
.. | ||
__tests__ | ||
celerity | ||
customfield | ||
daemon | ||
diff | ||
edges | ||
env | ||
events | ||
internationalization | ||
javelin | ||
lint | ||
markup | ||
query | ||
ssh | ||
storage | ||
testing | ||
time | ||
util | ||
PhabricatorAccessLog.php | ||
PhabricatorEditor.php |