Finally, I could accomplish it in Java. Probably will help you to accomplish it in Python.
Load the savedSearch
Get the path of the savedSearch.
The permission of the savedSearch is called "eai:acl". So to the path of the savedSearch, append "/acl". We'll refer to it as aclPath.
Create an Args class object.Set your arguments into the Arguments class for keys - owner, sharing, perms.read, perms.write
Post using the class ResponseMessage ( String aclPath, Args args)
Java Sample code:
SavedSearch savedSearch = service.getSavedSearches().get("my only saved search");
String aclPath = savedSearch.getPath().toString().concat("/acl");
Args args = new Args();
args2.add("owner", "their_user");
args2.add("sharing","app");
args2.add("perms.read", "where_user,queue_user");
args2.add("perms.write", "who_user, which_user");
ResponseMessage rms=service.post(savedSearch.getPath()+"/acl", args2);
Works for me !
... View more