summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2019-12-16 10:36:56 -0600
committerGunnar Mills <gmills@us.ibm.com>2019-12-19 00:44:53 +0000
commit6765c07a2831434d7c5bb56a08a15c67adb0c3a2 (patch)
treec78de91d40681e1fb0d653e38166ac516293888a
parentf2127efa1b7d1c9fc1625f6e30b75be0ed658d53 (diff)
downloadphosphor-webui-6765c07a2831434d7c5bb56a08a15c67adb0c3a2.tar.gz
phosphor-webui-6765c07a2831434d7c5bb56a08a15c67adb0c3a2.zip
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>
-rw-r--r--app/access-control/directives/role-table.js14
1 files 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;
OpenPOWER on IntegriCloud