Searched hist:"7 eeafa76" (Results 1 – 1 of 1) sorted by relevance
/openbmc/bmcweb/redfish-core/lib/ |
H A D | event_service.hpp | 7eeafa76 Wed Jul 28 10:59:16 CDT 2021 Abhishek Patel <Abhishek.Patel@ibm.com> Fix event_service privileges Post method: 1) redfish/v1/EventService/Subscriptions/ ConfigureManager -> [ConfigureManager or ConfigureComponents] This change allows Admin and Operator both users to subscribe to the particular event, where only admin user has the ability before this change. Tested: manually tested on Witherspoon system. Only ConfigureManager or ConfigureComponents privilege users can subscribe to an event. TestURL: curl -k -H "X-Auth-Token: $bmc_token" -X POST -d '{"Context": "9.3.147.232", "DeliveryRetryPolicy": "TerminateAfterRetries", "Destination": "https://9.3.147.232:17443/redfish/events", "EventFormatType": "Event", "MessageIds": [], "MetricReportDefinitions": [], "Protocol": "Redfish", "RegistryPrefixes": [], "ResourceTypes": [], "SubscriptionType": "RedfishEvent"}' https://${BMC_IP}/redfish/v1/EventService/Subscriptions Signed-off-by: Abhishek Patel <Abhishek.Patel@ibm.com> Change-Id: I4d3bcfaab7f5a00ada99a30fdb8f17d85531a2a8
|