Remove key-manager::api-storage privilege use in CKM tests
[platform/core/test/security-tests.git] / src / ckm / privileged / access_provider2.cpp
index bc7af22..be26bd6 100644 (file)
@@ -44,14 +44,6 @@ std::string toSmackLabel(const std::string &ownerId) {
 
 } // anonymous namespace
 
-AccessProvider::AccessProvider(const std::string &ownerId)
-  : m_mySubject(toSmackLabel(ownerId))
-  , m_inSwitchContext(false)
-{
-    RUNNER_ASSERT_MSG(m_mySubject.size() > 0, "No smack label provided to AccessProvider!");
-    allowJournaldLogs();
-}
-
 AccessProvider::AccessProvider(const std::string &ownerId, int uid, int gid)
   : m_mySubject(toSmackLabel(ownerId))
   , m_inSwitchContext(false)