[IOT-2461] Fix acl2 reverting 93/21393/2
authorAndrii Shtompel <a.shtompel@samsung.com>
Tue, 11 Jul 2017 13:32:22 +0000 (16:32 +0300)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Wed, 12 Jul 2017 02:15:44 +0000 (02:15 +0000)
With this patch CTT 1.5.11 test CT 1.7.7.1
successfully reverts acl2 and it finally passes

Change-Id: I24e0d9d47a3c148a8626482fee22a4504f711270
Signed-off-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21393
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Aleksey Volkov <a.volkov@samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Jongmin Choi <jminl.choi@samsung.com>
Reviewed-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
resource/csdk/security/src/policyengine.c

index 88b652b..e9ff547 100644 (file)
@@ -229,7 +229,10 @@ static GetSvrRownerId_t GetSvrRownerId[OIC_SEC_SVR_TYPE_COUNT + 1] = {
     GetPconfRownerId,
     GetPstatRownerId,
     NULL,               // sacl is not implemented yet.
-    NULL                // svc has been removed from the OCF 1.0 Security spec.
+    NULL,               // svc has been removed from the OCF 1.0 Security spec.
+    NULL,               // csr
+    GetAclRownerId,     // acl2
+    NULL                // roles
 };
 
 /**