summaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'src/store')
-rw-r--r--src/store/modules/GlobalStore.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/store/modules/GlobalStore.js b/src/store/modules/GlobalStore.js
index ed3e381a8..e42367b34 100644
--- a/src/store/modules/GlobalStore.js
+++ b/src/store/modules/GlobalStore.js
@@ -7,6 +7,12 @@ const HOST_STATE = {
diagnosticMode: 'xyz.openbmc_project.State.Host.HostState.DiagnosticMode',
};
+const privilegesId = {
+ admin: 'Administrator',
+ operator: 'Operator',
+ readOnly: 'ReadOnly',
+};
+
const serverStateMapper = (hostState) => {
switch (hostState) {
case HOST_STATE.on:
@@ -137,5 +143,6 @@ const GlobalStore = {
},
},
};
+export { GlobalStore, serverStateMapper, privilegesId };
export default GlobalStore;