Rewrite and fix CynaraAdmin::SetPolicies
[platform/core/security/security-manager.git] / src / common / include / master-req.h
index 9890728..15b1fdc 100644 (file)
@@ -39,16 +39,12 @@ namespace MasterReq {
  *
  * @param[in]  appID            Application ID
  * @param[in]  uidstr           String containing user identifier
- * @param[in]  oldPkgPrivileges Previously enabled privileges for the package,
- *                              Must be sorted and without duplicates
- * @param[in]  newPkgPrivileges Currently enabled privileges for the package,
- *                              Must be sorted and without duplicates
+ * @param[in]  privileges       Currently enabled privileges for the application
  *
  * @see CynaraAdmin::UpdateAppPolicy
  */
 int CynaraPolicyUpdate(const std::string &appId, const std::string &uidstr,
-                       const std::vector<std::string> &oldPkgPrivileges,
-                       const std::vector<std::string> &newPkgPrivileges);
+                       const std::vector<std::string> &privileges);
 
 /**
  * Forwards Cynara user initialization to Master service.