ui: add user information on the Event-View in the UI (#2826)

For root/domain admins, adds the username column
This commit is contained in:
Rafael Weingärtner 2018-08-30 06:03:38 -03:00 committed by Rohit Yadav
parent e6af798373
commit b6a861b09b
1 changed files with 12 additions and 0 deletions

View File

@ -49,6 +49,9 @@
account: {
label: 'label.account'
},
username: {
label: 'label.username'
},
domain: {
label: 'label.domain'
},
@ -331,6 +334,15 @@
else
return true;
}
},
username: {
label: 'label.username',
isHidden: function(args) {
if (isAdmin() || isDomainAdmin())
return false;
else
return true;
}
}
},