summaryrefslogtreecommitdiff
path: root/include/obmc_console.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/obmc_console.hpp')
-rw-r--r--include/obmc_console.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/obmc_console.hpp b/include/obmc_console.hpp
index b8afba6d71..b545f960e1 100644
--- a/include/obmc_console.hpp
+++ b/include/obmc_console.hpp
@@ -104,6 +104,7 @@ void connectHandler(const boost::system::error_code& ec)
void requestRoutes(CrowApp& app)
{
BMCWEB_ROUTE(app, "/console0")
+ .requires({"ConfigureComponents", "ConfigureManager"})
.websocket()
.onopen([](crow::websocket::Connection& conn) {
BMCWEB_LOG_DEBUG << "Connection " << &conn << " opened";