consul/ui-v2/app
John Cowen f65f001675
UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874)
In some circumstances a consul 1.4 client could be running in an
un-upgraded 1.3 or lower cluster. Currently this gives a 500 error on
the new ACL token endpoint. Here we catch this specific 500 error/message
and set the users AccessorID to null. Elsewhere in the frontend we use
this fact (AccessorID being null) to decide whether to present the
legacy or the new ACL UI to the user.

Also:
- Re-adds in most of the old style ACL acceptance tests, now that we are keeping the old style UI
- Restricts code editors to HCL only mode for all `Rules` editing (legacy/'half legacy'/new style)
- Adds a [Stop using] button to the old style ACL rows so its possible to logout.
- Updates copy and documentation links for the upgrade notices
2018-11-02 14:44:36 +00:00
..
adapters UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
components UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
controllers UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
forms UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
helpers UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
initializers ui: Adds multi syntax linting to the code editor (#4814) 2018-10-19 17:36:38 +01:00
mixins UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
models UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
routes UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
routing UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
serializers UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
services UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
styles ui: Adds multi syntax linting to the code editor (#4814) 2018-10-19 17:36:38 +01:00
templates UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
utils UI: Catch 500 error on token endpoint and revert to legacy tokens (#4874) 2018-11-02 14:44:36 +00:00
validations UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
app.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
index.html ui: Adds multi syntax linting to the code editor (#4814) 2018-10-19 17:36:38 +01:00
resolver.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
router.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00