mirror of https://github.com/status-im/consul.git
f65f001675
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 |
||
---|---|---|
.. | ||
dom | ||
helpers | ||
http/acl | ||
model | ||
storage | ||
acls-status-test.js | ||
ascend-test.js | ||
atob-test.js | ||
btoa-test.js | ||
callable-type-test.js | ||
confirm-test.js | ||
createURL-test.js | ||
get-component-factory-test.js | ||
get-form-name-property-test.js | ||
hasStatus-test.js | ||
injectableRequestToJQueryAjaxHash-test.js | ||
isFolder-test.js | ||
keyToArray-test.js | ||
left-trim-test.js | ||
makeAttrable-test.js | ||
promisedTimeout-test.js | ||
remove-null-test.js | ||
right-trim-test.js | ||
sumOfUnhealthy-test.js | ||
templatize-test.js | ||
ucfirst-test.js | ||
update-array-object-test.js |