Commit 1a516be1 authored by Ashwini Kumar's avatar Ashwini Kumar Committed by Randeep

Update to server .json and .db files to allow /p and /d access,

to address JIRA issue 1077.

The default oic_svr_db_server_justworks.json and .dat files, along
with _randompin.json and .dat, do not contain ACL entries to allow
access to /p and /d.  This may confuse vendors who will most likely
wish to change this behavior.  IoTivity should (by default) allow
access, and allow vendors to change to not allow it if they wish.

Note that /oic/res is accessible in the current version prior to
this fix; it is just /oic/p and /oic/d which are not accessible
until new ACLs are provisioned.

Change-Id: I0ca424dc73db366a5c8ceca3236887d90543286e
Signed-off-by: Nathan Heldt-Sheller's avatarNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Signed-off-by: default avatarAshwini Kumar <k.ashwini@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7797Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarMushfiqul Islam <i.mushfiq@samsung.com>
Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
parent 29106ba0
......@@ -11,6 +11,18 @@
"rt": "",
"if": ""
},
{
"href": "/oic/d",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
"rel": "",
......
......@@ -11,6 +11,18 @@
"rt": "",
"if": ""
},
{
"href": "/oic/d",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
"rel": "",
......
......@@ -11,6 +11,18 @@
"rt": "",
"if": ""
},
{
"href": "/oic/d",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
"rel": "",
......
{
"acl": {
"acl": {
"aclist": {
"aces": [
{
......@@ -10,6 +10,16 @@
"rel": "",
"rt": "",
"if": ""
},{
"href": "/oic/d",
"rel": "",
"rt": "",
"if": ""
},{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
......
{
"acl": {
"acl": {
"aclist": {
"aces": [
{
......@@ -11,6 +11,18 @@
"rt": "",
"if": ""
},
{
"href": "/oic/d",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
"rel": "",
......@@ -115,4 +127,4 @@
"rowneruuid": "72616E64-5069-6E44-6576-557569643030",
"dpc": true
}
}
}
......@@ -105,4 +105,4 @@
],
"rowneruuid": "32323232-3232-3232-3232-323232323232"
}
}
\ No newline at end of file
}
......@@ -17,6 +17,18 @@
"rt": "",
"if": ""
},
{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/types/d",
"rel": "",
......@@ -85,4 +97,4 @@
"rowneruuid": "64697265-6374-7061-6972-696e67446576",
"dpc": false
}
}
\ No newline at end of file
}
......@@ -11,6 +11,18 @@
"rt": "",
"if": ""
},
{
"href": "/oic/d",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/p",
"rel": "",
"rt": "",
"if": ""
},
{
"href": "/oic/res/d",
"rel": "",
......@@ -156,4 +168,4 @@
],
"rowneruuid": "32323232-3232-3232-3232-323232323232"
}
}
\ No newline at end of file
}
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