Hi Max, Looking at your log, it appears that a matching ACE is found which doesn’t contain the correct permissions… is there another ACE with the same conntype and Resource?
Can you please send your entire /acl2 Resource (either print the Resource to the debug log just before the request, or send the .json for the entire .dat file you’re using)? Thanks, Nathan From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Max Kholmyansky Sent: Thursday, August 31, 2017 5:02 AM To: iotivity <iotivity-dev@lists.iotivity.org> Subject: [dev] PUT request fails with ACL using anon-clear access Hi Using IoTivity 1.3.0 (with some patches) - I have an issue to set ACL to allow PUT request with anon-clear access. Same works fine with GET and POST. Attaching the IoTivity traces. In my ACLs, I have a section: { "aceid": 5, "subject": { "conntype": "anon-clear" }, "resources": [ { "href": "/_br/c283934f-dfb4-391f-95de-ed1c161ab42e/mode" } ], "permission": 31 } (same problem when using "*" instead of the specific URI) Yet in the logs I can see: ProcessAccessRequest:no ACL found matching conntype anon-clear for resource /_br/c283934f-dfb4-391f-95de-ed1c161ab42e/mode Again, no issue with POST. Any hint how to make it work? Thanks Max
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev