abujehad139 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Parallel permission insert requests grant the permission for only one of the two users #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry if I post this problem in a wrong place, should it be a service issue?

I know the Drive SDK doesn't support batch requests yet, so I'm trying to use 
parallel requests to achieve the functionality but it doesn't seen to work 
properly.

What steps will reproduce the problem?
1.Upload a small txt file with DriveService.Files.Insert 
2.Create 2 parallel requests to add permissions 
(DriveService.Permissions.Insert) for two different users, I'm getting success 
responses for both requests
3.Delegate the two users' account and use DriveService.Files.Get to get the file

What is the expected output? What do you see instead?
I expected the two users' account can access the uploaded file, but I'm getting 
404 error for one of them. I suppose only one of the request is effective.

Original issue reported on code.google.com by zhuyuan...@gmail.com on 27 Jun 2013 at 8:37

GoogleCodeExporter commented 9 years ago
Hi,
I think you should take a look in the Google Drive support page
https://developers.google.com/drive/support
It looks like they offer you to open a new issue in StackOverflow.

I'm closing this issue because isn't relevant to this library,
feel free to reopen if you feel that it should be here.

Thanks! 

Original comment by pele...@google.com on 27 Jun 2013 at 1:01

GoogleCodeExporter commented 9 years ago
Thanks,
I've created 
http://stackoverflow.com/questions/17344305/only-one-request-is-effective-when-p
arallelly-send-requests-to-insert-permission for it

Cheers
Z

Original comment by zhuyuan...@gmail.com on 28 Jun 2013 at 7:46