summaryrefslogtreecommitdiff
path: root/redfish-core/lib/log_services.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2021-07-30 22:40:11 +0300
committerGunnar Mills <gmills@us.ibm.com>2021-07-30 22:40:49 +0300
commitad89dcf0a10cee247f92b00d85ad8bee4ba68e7c (patch)
tree65026c43aae2a3574f4d496b8f507288512ec87d /redfish-core/lib/log_services.hpp
parent418b934abdf346a805816ad2d701dc070dbc08a0 (diff)
downloadbmcweb-ad89dcf0a10cee247f92b00d85ad8bee4ba68e7c.tar.xz
Correct Manager LogService Collection permission
Both are the login Privilege so this has no client impact. From redfish-core/include/registries/privilege_registry.hpp: const auto& getLogServiceCollection = privilegeSetLogin; const auto& getLogService = privilegeSetLogin; From https://redfish.dmtf.org/schemas/v1/LogServiceCollection_v1.xml: <String>/redfish/v1/Managers/{ManagerId}/LogServices</String> Tested: None. Change-Id: Ie836e2fa9bc841f16e1d6c6104c6d474751c5a09 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/lib/log_services.hpp')
-rw-r--r--redfish-core/lib/log_services.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 9053fa1bf9..dad63a523f 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -1803,7 +1803,7 @@ inline void requestRoutesDBusEventLogEntryDownload(App& app)
inline void requestRoutesBMCLogServiceCollection(App& app)
{
BMCWEB_ROUTE(app, "/redfish/v1/Managers/bmc/LogServices/")
- .privileges(redfish::privileges::getLogService)
+ .privileges(redfish::privileges::getLogServiceCollection)
.methods(boost::beast::http::verb::get)(
[](const crow::Request&,
const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) {