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
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 @@
// 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 @@
{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, '', '', '']},