LDAP: add support for privilege priv-noaccess
This commit adds support to ldap privilege role map configuration
for 'priv-noaccess'
Signed-off-by: raviteja-b <raviteja28031990@gmail.com>
Change-Id: Ia28da61ee3f3bad8e2e233efd220266586713f4d
diff --git a/phosphor-ldap-config/ldap_config.hpp b/phosphor-ldap-config/ldap_config.hpp
index 20448dd..4ebba38 100644
--- a/phosphor-ldap-config/ldap_config.hpp
+++ b/phosphor-ldap-config/ldap_config.hpp
@@ -275,6 +275,7 @@
"priv-admin",
"priv-operator",
"priv-user",
+ "priv-noaccess",
};
/** @brief React to InterfaceAdded signal
diff --git a/phosphor-ldap-mapper/ldap_mapper_mgr.hpp b/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
index 7b3013d..88e4f26 100644
--- a/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
+++ b/phosphor-ldap-mapper/ldap_mapper_mgr.hpp
@@ -102,6 +102,7 @@
"priv-admin",
"priv-operator",
"priv-user",
+ "priv-noaccess",
};
/** @brief Id of the last privilege mapper entry */