From 59ba63885eadecea4bd722141cd41bffecf96397 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Tue, 1 Aug 2023 12:41:17 -0500 Subject: 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 --- src/webserver_main.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3