commit | 038a9da1ae021f3aef91317c50f8baf3d7fef5bb | [log] [tgz] |
---|---|---|
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | Fri Apr 17 11:22:56 2020 -0700 |
committer | Derick Montague <derick.montague@ibm.com> | Tue Apr 21 20:13:28 2020 +0000 |
tree | 4fb43c15121858414f663e8589b3fef28d199f44 | |
parent | 82cca545587fa8803fe35092614922bc1af3a48e [diff] [blame] |
Add dynamic AccountService Roles Get roles on local user management privilege dropdown from /redfish/v1/AccountService/Roles instead of hard-coded values. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I00409b17fc1a2a49b880883749c0241e0aae283e
diff --git a/src/views/AccessControl/LocalUserManagement/LocalUserManagement.vue b/src/views/AccessControl/LocalUserManagement/LocalUserManagement.vue index c08b39b..b9df58f 100644 --- a/src/views/AccessControl/LocalUserManagement/LocalUserManagement.vue +++ b/src/views/AccessControl/LocalUserManagement/LocalUserManagement.vue
@@ -200,6 +200,7 @@ created() { this.$store.dispatch('localUsers/getUsers'); this.$store.dispatch('localUsers/getAccountSettings'); + this.$store.dispatch('localUsers/getAccountRoles'); }, methods: { initModalUser(user) {