From 1a2c9ee277023393e660b93ef49b19f7ef952974 Mon Sep 17 00:00:00 2001 From: Andrii Shtompel Date: Tue, 11 Jul 2017 16:32:22 +0300 Subject: [PATCH] [IOT-2461] Fix acl2 reverting 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 Reviewed-on: https://gerrit.iotivity.org/gerrit/21393 Reviewed-by: Phil Coval Reviewed-by: Aleksey Volkov Tested-by: jenkins-iotivity Reviewed-by: Jongmin Choi Reviewed-by: Nathan Heldt-Sheller --- resource/csdk/security/src/policyengine.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resource/csdk/security/src/policyengine.c b/resource/csdk/security/src/policyengine.c index 88b652b..e9ff547 100644 --- a/resource/csdk/security/src/policyengine.c +++ b/resource/csdk/security/src/policyengine.c @@ -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 }; /** -- 2.7.4