Clean: Remove conversion table from old role
[apps/agl-service-windowmanager.git] / src / main.cpp
index d0d7930..29d25fb 100644 (file)
@@ -116,8 +116,7 @@ static void createSecurityContext(afb_req req, const char* appid, const char* ro
     if (!ctxt)
     {
         // Create Security Context at first time
-        const char *new_role = g_afb_instance->wmgr.convertRoleOldToNew(role);
-        WMClientCtxt *ctxt = new WMClientCtxt(appid, new_role);
+        WMClientCtxt *ctxt = new WMClientCtxt(appid, role);
         HMI_DEBUG("create session for %s", ctxt->name.c_str());
         afb_req_session_set_LOA(req, 1);
         afb_req_context_set(req, ctxt, cbRemoveClientCtxt);