Users: Update Callback/NoAccess Role
https://github.com/openbmc/bmcweb/commit/e9e6d240ab85e515f8d264e39b47a75043b73374
added a new user role, NoAccess.
https://github.com/openbmc/bmcweb/commit/cb3e11fadd77b04f5b26aefbde18411625e5e304
removed Callback.
This "NoAccess" role can not ssh, access Redfish, the D-Bus API, or
IPMI.
Tested: Loaded on a witherspoon.
Change-Id: I4f870fdefb5342344fd442876d671a59864bbf34
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 a6dcbfd..d41f452 100644
--- a/app/access-control/directives/role-table.js
+++ b/app/access-control/directives/role-table.js
@@ -22,7 +22,7 @@
this.tableHeader = [
{label: ''}, {label: 'Admin'}, {label: 'Operator'},
- {label: 'ReadOnly'}, {label: 'Callback'}
+ {label: 'ReadOnly'}, {label: 'NoAccess'}
];
// TODO: When API changed from D-Bus to Redfish, 'Operator' role
@@ -31,8 +31,6 @@
// 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
- // for Callback role.
this.tableData = [
{
uiData: [
@@ -50,13 +48,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, check]},
- {uiData: ['SSH access point', check, check, check, check]},
- {uiData: ['WebUI access point', check, check, check, check]},
+ {uiData: ['IPMI access point', check, check, check, '']},
+ {uiData: ['Redfish access point', check, check, check, '']},
+ {uiData: ['SSH access point', check, check, check, '']},
+ {uiData: ['WebUI access point', check, check, check, '']},
];
this.isCollapsed = true;