[IOT-1958] CR 22 State Specific Property Access for /acl Resource 83/19483/7
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 1 May 2017 06:23:55 +0000 (23:23 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Sat, 6 May 2017 22:26:11 +0000 (22:26 +0000)
commit170dceb649c7aab72a087feec0b3e37bd8829848
treefb72e5b055df01f055c0cb4a4f677cfa96773dee
parent19dedcbd0fd69f2b7f97174630386df5345b5aa8
[IOT-1958] CR 22 State Specific Property Access for /acl Resource

Implementation of CR 22 feature to deny UPDATE to /acl if any
Property in the POST representation is read-only in the current
/pstat.dos.s state.

Change-Id: I3e0ecca464e94002439f8a8f785d63d503ff1f9f
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19483
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
resource/csdk/security/include/internal/pstatresource.h
resource/csdk/security/src/aclresource.c
resource/csdk/security/src/pstatresource.c
resource/csdk/security/unittest/aclresourcetest.cpp