tbouron commented on a change in pull request #130: Fix entitlement messages
URL: https://github.com/apache/brooklyn-ui/pull/130#discussion_r270405032
##########
File path:
ui-modules/app-inspector/app/views/main/inspect/summary/summary.controller.js
##########
@@ -188,7 +188,11 @@ export function summaryController($scope, $state,
$stateParams, $q, $http, brSna
entityApi.updateEntityName(applicationId, entityId,
this.name).then((response)=> {
vm.entity.name = vm.name;
}).catch((error)=> {
- brSnackbar.create('Cannot update entity name: the entity [' +
entityId + '] is undefined');
+ if(error.data && error.data.error === 403){
Review comment:
I don't think you need this change as 403 errors are now handled by the Java
securityproviser you did @jcabrerizo ;)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services