Don't assume that default privilege Smack rules template exists 89/231889/2
authorZofia Abramowska <z.abramowska@samsung.com>
Fri, 24 Apr 2020 15:29:03 +0000 (17:29 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 5 May 2020 11:10:55 +0000 (13:10 +0200)
Change-Id: I03c0fadeaf95885d191937d8c3e04fde70de047b

src/common/template-manager.cpp

index 605d9ee..c41fa69 100644 (file)
@@ -99,7 +99,7 @@ void TemplateManager::loadFiles()
     }
 
     std::vector<Type> types = {Type::APP_RULES_TEMPLATE, Type::PKG_RULES_TEMPLATE,
-                               Type::AUTHOR_RULES_TEMPLATE, Type::PRIV_DEFAULT_RULES_TEMPLATE};
+                               Type::AUTHOR_RULES_TEMPLATE};
     for (auto &type : types) {
         auto path = getPolicyFile(type);
         m_templateRules[path] = Smack::fromConfig(path);