Closed Bug 1490349 Opened 4 years ago Closed 4 years ago

[Translate.Next] Get logged-in user data

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

References

Details

Attachments

(1 file)

Several features depend on the permissions of the current user. We need to get all data about the user from django when loading the Translate app and store it. 

We also probably need to update that data regularly, so that if the user gets logged out automatically from the server, we show it in the client.
Blocks: 1490351
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/88511037a74d9a2995ff539fcd7ccbebfdeeee01
Fix bug 1490349 - Add current user data to Translate app.  (#1090)

This data will be used later on by other modules to give access to actions, show special data, and display the name and avatar of the user.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.