Change DevOwner access policy to address JIRA 1369
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Thu, 29 Sep 2016 22:10:20 +0000 (15:10 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Tue, 4 Oct 2016 12:23:30 +0000 (12:23 +0000)
commit3bfb38f15b11c6b30d34fb041e03139d4a5c30d3
treef5756e437951189943e7e5ea1727133e760b2095
parent2bda7dda54e5ed7232d328e3ba996aed96ba7367
Change DevOwner access policy to address JIRA 1369

This changes the Policy Engine to grant requests from DevOwner
without checking ACLs ONLY if the device is not in Ready for Normal
Operation state, AND the request is for a SVR.

Change-Id: I9aa4314cc2beb9fdb4629c1e63ea6971f7cc8909
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12585
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit 7e0ed7dff05620d4cbcc335724a62bc0adbd4eaf)
Reviewed-on: https://gerrit.iotivity.org/gerrit/12757
resource/csdk/security/README-building-and-running-secure-IoTivity-stack.txt
resource/csdk/security/src/policyengine.c