Hey,
I'm trying to add IDs to existing ACL OBJECT I have response "ok", but ids is not added to ACL OBJECT I'm using Android JAVA (not Titanium)
here is my code:__
Map<String, Object> data = new HashMap<String, Object>(); data.put("id", "523584bc51f25a0b2000932c"); //my ACL Object ID data.put("reader_ids", "522c50746f27b60b0d00b9bb"); // my friend's ID data.put("writer_ids", "522c50746f27b60b0d00b9bb"); // my friend's ID CCResponse response = sdk.sendRequest("acls/add.json", CCRequestMethod.POST, data);__and Response that I got:
Parameters {"id" => "523584bc51f25a0b2000932c", "writers_ids" => "522c50746f27b60b0d00b9bb", "readers_ids" => "522c50746f27b60b0d00b9bb", "controller" => "acls", "action" => "add", "version" => "v1", "format" => "json" }
but actually when I'm checking the ACL object I'm the only reader & writer... here's the example:
id 523584bc51f25a0b2000932c name ?1379242676343 created_at 2013-09-15T09:58:20+0000 updated_at 2013-09-15T09:58:20+0000 user Pavel (522d822ea7a0670b0f01053a) readers ["522d822ea7a0670b0f01053a"] writers ["522d822ea7a0670b0f01053a"]
What am I doing wrong ? Why ACL Object was not updated ???