summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2019-09-03 07:31:45 -0700
committerGunnar Mills <gmills@us.ibm.com>2019-09-04 20:07:13 +0000
commitc799714db9e2696fc93242df5855e9b3266236c4 (patch)
tree79746ccee25f2af97c7a7accfbe94647bc975662
parent0824e49e0f91b1d4ff6d07ec81927fb410ccd29e (diff)
downloadphosphor-webui-c799714db9e2696fc93242df5855e9b3266236c4.tar.gz
phosphor-webui-c799714db9e2696fc93242df5855e9b3266236c4.zip
Update local user role table
Currently the Operator and User roles are not able to change their own account's password. This commit will remove checkmarks from 'Update password for current user account' description for Operator and User until it is supported by Redfish. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I93f1b37c116b74970790c9e4ad358db071ca8524
-rw-r--r--app/users/directives/role-table.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/users/directives/role-table.js b/app/users/directives/role-table.js
index c72ccfc..ee99a41 100644
--- a/app/users/directives/role-table.js
+++ b/app/users/directives/role-table.js
@@ -27,6 +27,9 @@ window.angular && (function(angular) {
// TODO: When API changed from D-Bus to Redfish, 'Operator' role
// should have 'Configure components managed by this service'
// privilege checked
+ // TODO: When 'Operator' and 'User' roles have ability to change
+ // own account's passwords, should have 'Update password for
+ // current user account' privilege checked
this.tableModel.data = [
{
uiData: [
@@ -37,8 +40,7 @@ window.angular && (function(angular) {
{uiData: ['Configure manager resources', check, '', '', '']},
{
uiData: [
- 'Update password for current user account', check, check, check,
- ''
+ 'Update password for current user account', check, '', '', ''
]
},
{uiData: ['Configure users and their accounts', check, '', '', '']},
OpenPOWER on IntegriCloud