-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add remote item metadata #6300
add remote item metadata #6300
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
💥 Acceptance test localApiTests-apiGraph-ocis failed. Further test are cancelled... |
8f93d1b
to
b0b2e24
Compare
ed9b62b
to
dde48a5
Compare
8f2539c
to
e4e1bb4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should fix the potential panics
Signed-off-by: Michael Barz <mbarz@owncloud.com>
Kudos, SonarCloud Quality Gate passed! |
Description
This adds the needed metadata to the remote item which represents the real location of a share in the storage space of the share owner.
This is needed to access shares via the
storage-users
provider to have the same URL for all participants of a share.Related Issue
Motivation and Context
Access shares via the original Url of the owner
Examples
Admin shares
Test/Test2/Test3
with EinsteinEinstein lists his drives an finds a share (
driveType=mountpoint
)In the
remoteItem
we can no see 3 new properties:path
The relative path of the item in the originating space (needed for web navigation)rootId
The ID of the originating spacedriveAlias
the drive alias of the originating space (needed for web navigation)webDavUrl
the ready-to-use WebDAVURL to access the shareNOTE
This moves the access to the share away from the
sharesstorageprovider
and uses the normalstorage-users
provider of the share owner.Example
Response
Download the file
Response
# Headline
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: