summaryrefslogtreecommitdiffstats
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 0598636..b67c857 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -34,7 +34,8 @@ class RedfishService {
*/
template <typename CrowApp>
RedfishService(CrowApp& app) {
- auto privilegeProvider = PrivilegeProvider();
+ auto privilegeProvider =
+ PrivilegeProvider("/etc/redfish.conf.d/privilege_registry.json");
nodes.emplace_back(
std::make_unique<SessionCollection>(app, privilegeProvider));
OpenPOWER on IntegriCloud