From 6765c07a2831434d7c5bb56a08a15c67adb0c3a2 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Mon, 16 Dec 2019 10:36:56 -0600 Subject: 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 --- app/access-control/directives/role-table.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 @@ window.angular && (function(angular) { 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 @@ window.angular && (function(angular) { // 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 @@ 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, 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; -- cgit v1.2.1