Closed Bug 1524602 Opened 8 months ago Closed 7 months ago

[Translate.Next] Hide Editor settings and actions when logged out

Categories

(Webtools :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

Details

Attachments

(1 file)

When a user is logged out, we should not show the Editor settings or actions and instead render a Sign in link.

Comment from Stas in https://github.com/mozilla/pontoon/pull/1185

Would it make sense to instead add a new action called UPDATE_LOGGED_OUT or UPDATE_NO_AUTH and have an if (content.is_authenticated) in core/user/actions.get to decide whether to dispatch UPDATE or UPDATE_LOGGED_OUT? This would also have the benefit of resetting all settings when the user logs out.

Assignee: nobody → adrian
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.