prabhjyotsingh commented on code in PR #3941:
URL: https://github.com/apache/ambari/pull/3941#discussion_r1944055262
##########
ambari-web/app/router.js:
##########
@@ -284,15 +284,15 @@ App.Router = Em.Router.extend({
var dfd = $.Deferred();
var self = this;
var auth = App.db.getAuthenticated();
- this.getClusterDataRequest().always(function (xhr) {
+ this.getClusterDataRequest().always(function (xhr, textStatus,
jqXHRorErrorThrown) {
Review Comment:
I originally thought
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilter.java#L286
(`httpResponse.setHeader("User",
AuthorizationHelper.getAuthenticatedName());`) would have taken care of it.
But I believe you are right as well, we should have a status check as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]