From 8b6a35f0f99ed38293f7d134511d6181c88c5a59 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Fri, 30 Jul 2021 14:52:53 -0500 Subject: Fix System EventLog Collection permission Both are the login Privilege so this has no client impact. From redfish-core/include/registries/privilege_registry.hpp: conststaticauto& getLogEntry = privilegeSetLogin; conststaticauto& getLogEntryCollection = privilegeSetLogin; From https://redfish.dmtf.org/schemas/v1/LogEntryCollection_v1.xml: /redfish/v1/Systems/{ComputerSystemId}/LogServices/{LogServiceId}/Entries Tested: None. Change-Id: I955fa005db332346e3151d1ac6b7f4ad43406063 Signed-off-by: Gunnar Mills --- redfish-core/lib/log_services.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redfish-core/lib/log_services.hpp') diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp index dad63a523f..6ddd6d6f91 100644 --- a/redfish-core/lib/log_services.hpp +++ b/redfish-core/lib/log_services.hpp @@ -1151,7 +1151,7 @@ inline void requestRoutesJournalEventLogEntryCollection(App& app) { BMCWEB_ROUTE(app, "/redfish/v1/Systems/system/LogServices/EventLog/Entries/") - .privileges(redfish::privileges::getLogEntry) + .privileges(redfish::privileges::getLogEntryCollection) .methods(boost::beast::http::verb::get)( [](const crow::Request& req, const std::shared_ptr& asyncResp) { -- cgit v1.2.3