diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2023-08-01 20:41:17 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2023-08-01 22:58:54 +0300 |
commit | 59ba63885eadecea4bd722141cd41bffecf96397 (patch) | |
tree | b6df056c77ea0b8e4664150eaa0c3a532834cf53 /src | |
parent | 46228e0e80488ecbe1058f01cdaa018eaa6bd654 (diff) | |
download | bmcweb-59ba63885eadecea4bd722141cd41bffecf96397.tar.xz |
Revert "Cache user role in session object"
This reverts commit 8ed41c35a314580bb794fa0fff2e01b0bf7efcf7.
In discord, it was posted 2 systems are hitting 403 Forbidden for all
endpoints.
Reverting fixed the problem, until time is given to dive into this,
just revert.
One of the things wrong is this is missing an After/Want
xyz.openbmc_project.User.Manager.service.
Change-Id: I1766a6ec2dbc9fb52da3940b07ac002a1a6d269a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/webserver_main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index 34fe18f07d..67e2aaef04 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -18,7 +18,6 @@ #include "security_headers.hpp" #include "ssl_key_handler.hpp" #include "user_monitor.hpp" -#include "user_role_map.hpp" #include "vm_websocket.hpp" #include "webassets.hpp" @@ -144,9 +143,6 @@ static int run() crow::hostname_monitor::registerHostnameSignal(); #endif - // Init the user role map - crow::UserRoleMap::getInstance(); - bmcweb::registerUserRemovedSignal(); app.run(); |