diff options
Diffstat (limited to 'redfish-core/lib/account_service.hpp')
-rw-r--r-- | redfish-core/lib/account_service.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp index 0658f3ff3b..fa10c04dd3 100644 --- a/redfish-core/lib/account_service.hpp +++ b/redfish-core/lib/account_service.hpp @@ -78,10 +78,6 @@ inline std::string getRoleIdFromPrivilege(std::string_view role) { return "Administrator"; } - else if (role == "priv-callback") - { - return "Callback"; - } else if (role == "priv-user") { return "ReadOnly"; @@ -98,10 +94,6 @@ inline std::string getPrivilegeFromRoleId(std::string_view role) { return "priv-admin"; } - else if (role == "Callback") - { - return "priv-callback"; - } else if (role == "ReadOnly") { return "priv-user"; |