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>
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 @@
// 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 @@
{
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;