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 <gmills@us.ibm.com>
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index dad63a5..6ddd6d6 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -1151,7 +1151,7 @@
{
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<bmcweb::AsyncResp>& asyncResp) {