Closed Bug 1690336 Opened 9 months ago Closed 9 months ago

Don't run machinery queries when user is not logged in

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: mathjazz)

Details

Attachments

(1 file)

If a user is not logged in, we run machinery queries unnecessarily, since we display the MACHINERY tab by default.

For example, open this page in a private window
https://pontoon.mozilla.org/it/android-l10n/all-resources/?string=198721

In particular, we shouldn't be running machine translation API calls.

I think it's OK to still run "free" API calls.

Mentor: m
Priority: -- → P2
Assignee: nobody → m
Status: NEW → ASSIGNED
Mentor: m
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.