Files
gerrit/polygerrit-ui/app/elements/core/gr-error-manager
Viktar Donich 9b08e71b7f Show 'Refresh credentials' toast only when authentication required
For certain cases 403 indicates insufficient privileges for certain
operations, eg adding assignee.

For not logged in cases, server response text is `Authentication
required` in addition to HTTP status 403. This change offers to refresh
credentials only in this case, assuming user was previously logged in.

Bug: Issue 5993
Change-Id: I01dc2cfad00a2db5b721e8cf3778088924865630
2017-04-13 12:59:39 -07:00
..