diff options
author | Luke Granger-Brown <git@lukegb.com> | 2022-11-04T23·00+0000 |
---|---|---|
committer | lukegb <lukegb@tvl.fyi> | 2022-11-06T16·46+0000 |
commit | 8669bd0ee6cebe75e885e7899cdef21cc4a0c999 (patch) | |
tree | e83f49b2cda9bd834bc3bd2893e316976bbc1c26 /corp | |
parent | 290a8190189891fc46d7a0b48ed6a2d28b9a4878 (diff) |
fix(code-owners): put a user in the context for group resolution. r/5256
We need a user in the context when we ask the groups backend to look up groups by name, so for now if we don't have a _real_ user in the context (such as during change indexing), then populate the context with the anonymous user just for the duration of the groups backend calls. Change-Id: If961d84fe57443cb95deb59628802658585ed1cb Reviewed-on: https://cl.tvl.fyi/c/depot/+/7172 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'corp')
0 files changed, 0 insertions, 0 deletions