summaryrefslogtreecommitdiffstats
path: root/app/access-control
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2019-09-26 16:19:12 -0500
committerGunnar Mills <gmills@us.ibm.com>2019-09-30 20:22:14 +0000
commitea4968c0e8e6a71a7a23263bd05e04147339e6c5 (patch)
tree07129acfb96c33413266f5f6d9e90cbe05e1cd2a /app/access-control
parent198ce1ff3900a82ad9e98ee473078a1bb8a2131a (diff)
downloadphosphor-webui-ea4968c0e8e6a71a7a23263bd05e04147339e6c5.tar.gz
phosphor-webui-ea4968c0e8e6a71a7a23263bd05e04147339e6c5.zip
Update Callback role privileges
The "Callback" role currently is an IPMI access point, can ssh to the BMC, and is a Readonly user in Redfish and the WebUI. Added a TODO to revisit this. See: https://github.com/openbmc/bmcweb/commit/88e097c4cfa1172504d802e9f6b327f095f2748e Tested: Loaded on a Witherspoon. Now see checkmarks for Callback in the following rows: Log in to the service and read resources, IPMI access point, Redfish access point, SSH access point, and WebUI access point. Change-Id: Ica4863b1a424d0b115fb48b988c712fe27c99d74 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/access-control')
-rw-r--r--app/access-control/directives/role-table.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/access-control/directives/role-table.js b/app/access-control/directives/role-table.js
index 0a3169f..fb19dab 100644
--- a/app/access-control/directives/role-table.js
+++ b/app/access-control/directives/role-table.js
@@ -31,6 +31,8 @@ window.angular && (function(angular) {
// TODO: When 'Operator' and 'User' 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
+ // for Callback role.
this.tableData = [
{
uiData: [
@@ -48,13 +50,13 @@ window.angular && (function(angular) {
{
uiData: [
'Log in to the service and read resources', check, check, check,
- ''
+ check
]
},
{uiData: ['IPMI access point', check, check, check, check]},
- {uiData: ['Redfish access point', check, check, check, '']},
- {uiData: ['SSH access point', check, check, check, '']},
- {uiData: ['WebUI access point', check, check, check, '']},
+ {uiData: ['Redfish access point', check, check, check, check]},
+ {uiData: ['SSH access point', check, check, check, check]},
+ {uiData: ['WebUI access point', check, check, check, check]},
];
this.isCollapsed = true;
OpenPOWER on IntegriCloud