You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried with ownCloud master and the shared-folder-etags branch.
This is the scenario:
we have three users: user1, user2 and user3
user3 shares the file "foo.txt" to user2
user2 reshares the file to user1
login as user1
user 1 sees the file in his Shared-folder but if he tries to download it he gets a "cloud not found" error
What I found out so far:
OCP\Share\getItemsSharedWith returns as path 'files/foo.txt' and user2 as owner while user3 is the real owner.
I'm not sure what's the correct result. Should the function resolve it completely in one run? Than path 'files/foo.txt' and owner 'user3' would be the correct result. Another option would be to return user2 as owner and as path 'Shared/foo.txt', than we could do another iteration until we have a path which no longer starts with Shared/.
Since the getItems() function is quite complex and changes not only affect file sharing but also contact and calendar sharing I would appreciate if @MTGap could have a look at it.
It should still return user2 as the share owner. I'll fix the shared storage getOwner method to reflect the actual file owner. Then everything should work for files_versions/trashbin.
Activity
MTGap commentedon Mar 7, 2013
It should still return user2 as the share owner. I'll fix the shared storage getOwner method to reflect the actual file owner. Then everything should work for files_versions/trashbin.
I thought I already fixed this a long time ago...