Commit 17221d60 authored by js126.lee's avatar js126.lee Committed by Randeep

Remove ACE related to /oic/sec/acl on defualt ACE setting

Remove ACE related to /oic/sec/acl on defualt ACE setting
on SVR file of unowned sample apps, because that is not
required to Ownership Transfer.

Patch 1: upload patch.

Change-Id: Iff9b203cca64b7829ee3018587a1bc758ab966ac
Signed-off-by: default avatarjs126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15599Reviewed-by: default avatarJongmin Choi <jminl.choi@samsung.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16945Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
parent ef501a01
......@@ -39,12 +39,6 @@
"rt": ["oic.r.pstat"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/acl",
"rel": "",
"rt": ["oic.r.acl"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/cred",
"rel": "",
......
......@@ -39,12 +39,6 @@
"rt": ["oic.r.pstat"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/acl",
"rel": "",
"rt": ["oic.r.acl"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/cred",
"rel": "",
......
......@@ -47,7 +47,7 @@
#include "security_internals.h"
#define TAG "OIC_SRM_ACL"
#define NUMBER_OF_SEC_PROV_RSCS 4
#define NUMBER_OF_SEC_PROV_RSCS 3
#define NUMBER_OF_DEFAULT_SEC_RSCS 2
#define STRING_UUID_SIZE (UUID_LENGTH * 2 + 5)
......@@ -2749,8 +2749,6 @@ OCStackResult UpdateDefaultSecProvACE()
strlen(OIC_RSRC_DOXM_URI) + 1) == 0 ||
strncmp(rsrc->href, OIC_RSRC_CRED_URI,
strlen(OIC_RSRC_CRED_URI) + 1) == 0 ||
strncmp(rsrc->href, OIC_RSRC_ACL_URI,
strlen(OIC_RSRC_ACL_URI) + 1) == 0 ||
strncmp(rsrc->href, OIC_RSRC_PSTAT_URI,
strlen(OIC_RSRC_PSTAT_URI) + 1) == 0)
{
......
......@@ -41,12 +41,6 @@
"rt": ["oic.r.pstat"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/acl",
"rel": "",
"rt": ["oic.r.acl"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/cred",
"rel": "",
......@@ -66,8 +60,8 @@
"rowneruuid": "64697265-6374-7061-6972-696e67446576",
"cm": 2,
"tm": 0,
"om": 3,
"sm": 3
"om": 4,
"sm": 4
},
"doxm": {
"oxms": [0],
......
......@@ -41,12 +41,6 @@
"if": ["oic.if.baseline"],
"rel": ""
},
{
"href": "/oic/sec/acl",
"rt": ["oic.r.acl"],
"if": ["oic.if.baseline"],
"rel": ""
},
{
"href": "/oic/sec/cred",
"rt": ["oic.r.cred"],
......@@ -78,4 +72,4 @@
"devowneruuid": "",
"rowneruuid": "6a757374-776f-726b-4465-765575696430"
}
}
\ No newline at end of file
}
This diff was suppressed by a .gitattributes entry.
......@@ -41,12 +41,6 @@
"rt": ["oic.r.pstat"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/acl",
"rel": "",
"rt": ["oic.r.acl"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/sec/cred",
"rel": "",
......@@ -66,8 +60,8 @@
"rowneruuid": "64706169-7269-6e67-4465-765555494430",
"cm": 2,
"tm": 0,
"om": 3,
"sm": 3
"om": 4,
"sm": 4
},
"doxm": {
"oxms": [0],
......
......@@ -22,18 +22,6 @@
"rel": "",
"rt": ["oic.wk.p"],
"if": ["oic.if.baseline", "oic.if.r"]
},
{
"href": "/oic/sec/acl",
"rel": "",
"rt": ["oic.r.acl"],
"if": ["oic.if.baseline"]
},
{
"href": "/oic/res/types/d",
"rel": "",
"rt": ["oic.wk.res"],
"if": ["oic.if.baseline"]
}
],
"permission": 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment