summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2019-10-21 13:49:23 -0500
committerGunnar Mills <gmills@us.ibm.com>2019-10-21 13:50:20 -0500
commitd11b9277aea0baeafa4488084d27cfef0e607480 (patch)
tree8dfd88b76d683e8989d50819ab6cdc9a495e69b9 /app
parentc15f66b0d52e855ca0c03e20f875f7c4bd67282f (diff)
downloadphosphor-webui-d11b9277aea0baeafa4488084d27cfef0e607480.tar.gz
phosphor-webui-d11b9277aea0baeafa4488084d27cfef0e607480.zip
Rename "User" role "ReadOnly"
https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/26156 is renaming the User role ReadOnly. Update the Roles table. 26156 needs to merge first. Tested: Loaded on a Witherspoon. Change-Id: I948a6287d2c447072d5c34595589387e127d59ac Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app')
-rw-r--r--app/access-control/directives/role-table.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/access-control/directives/role-table.js b/app/access-control/directives/role-table.js
index fb19dab..a6dcbfd 100644
--- a/app/access-control/directives/role-table.js
+++ b/app/access-control/directives/role-table.js
@@ -21,14 +21,14 @@ window.angular && (function(angular) {
$sce.trustAsHtml(`<span class="icon__check-mark">${svg}<span>`);
this.tableHeader = [
- {label: ''}, {label: 'Admin'}, {label: 'Operator'}, {label: 'User'},
- {label: 'Callback'}
+ {label: ''}, {label: 'Admin'}, {label: 'Operator'},
+ {label: 'ReadOnly'}, {label: 'Callback'}
];
// 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
+ // TODO: When 'Operator' and 'ReadOnly' roles have ability to change
// own account's passwords, should have 'Update password for
// current user account' privilege checked
// TODO: Update Callback privileges when backend removes privileges
OpenPOWER on IntegriCloud