Page MenuHomePhabricator

Improve utilization of "AuthTemporaryToken" table keys in LFS authentication queries
ClosedPublic

Authored by epriestley on Mar 7 2019, 4:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 9:38 AM
Unknown Object (File)
Tue, Dec 17, 3:14 AM
Unknown Object (File)
Sun, Dec 15, 5:04 PM
Unknown Object (File)
Thu, Dec 12, 10:40 PM
Unknown Object (File)
Thu, Dec 12, 10:40 PM
Unknown Object (File)
Wed, Dec 11, 11:07 PM
Unknown Object (File)
Tue, Dec 10, 5:23 AM
Unknown Object (File)
Sun, Dec 8, 12:49 PM
Subscribers
None

Details

Summary

See PHI1123. The key on this table is <resource, type, code> but we currently query for only <type, code>. This can't use the key.

Constrain the query to the resource we expect (the repository) so it can use the key.

Test Plan

Pushed files using LFS. See PHI1123 for more, likely.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable