-
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
Search location filter. doesn't search by shares jail #6825
Comments
@ScharfViktor @janackermann See #6713 |
@2403905 what identifier should I use? looking at my screen |
For a shared folder f2 we are using |
There are two examples of the same request curl 'https://localhost:9200/remote.php/dav/files/einstein/' \
-X 'REPORT' \
--data-raw $'<?xml version="1.0"?>\n<oc:search-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n <d:prop>\n <oc:permissions />\n <oc:favorite />\n <oc:fileid />\n <oc:file-parent />\n <oc:name />\n <oc:owner-id />\n <oc:owner-display-name />\n <oc:shareid />\n <oc:shareroot />\n <oc:share-types />\n <oc:privatelink />\n <d:getcontentlength />\n <oc:size />\n <d:getlastmodified />\n <d:getetag />\n <d:getcontenttype />\n <d:resourcetype />\n <oc:downloadURL />\n <oc:tags />\n </d:prop>\n <oc:search>\n <oc:pattern>file scope:a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!storage-users-1:some-admin-user-id-0000-000000000000:8003d521-f9eb-4698-ace9-f18093443fe3</oc:pattern>\n <oc:limit>8</oc:limit>\n </oc:search>\n</oc:search-files>' \
-ik \
-ueinstein:relativity
curl 'https://localhost:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!storage-users-1:some-admin-user-id-0000-000000000000:8003d521-f9eb-4698-ace9-f18093443fe3' \
-X 'REPORT' \
--data-raw $'<?xml version="1.0"?>\n<oc:search-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n <d:prop>\n <oc:permissions />\n <oc:favorite />\n <oc:fileid />\n <oc:file-parent />\n <oc:name />\n <oc:owner-id />\n <oc:owner-display-name />\n <oc:shareid />\n <oc:shareroot />\n <oc:share-types />\n <oc:privatelink />\n <d:getcontentlength />\n <oc:size />\n <d:getlastmodified />\n <d:getetag />\n <d:getcontenttype />\n <d:resourcetype />\n <oc:downloadURL />\n <oc:tags />\n </d:prop>\n <oc:search>\n <oc:pattern>file scope:a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!storage-users-1:some-admin-user-id-0000-000000000000:8003d521-f9eb-4698-ace9-f18093443fe3</oc:pattern>\n <oc:limit>8</oc:limit>\n </oc:search>\n</oc:search-files>' \
-ik \
-ueinstein:relativity The id we can retrieve from here |
works fine on backend side |
steps:
f1/f2/test.txt
f1
to einsteinf1
and goes inside the folderf1
test
using search filtercurrent folder
using api:
curl https://host.docker.internal:9200/graph/v1.0/drives -ueinstein:relativity -vk | jq --raw-output '.value'
einstein searches by
test
oc:patterntest scope:UUID</oc:pattern>:Actual: no search result
Expected: it's possible to find objects in the accepted shared folder
CC @2403905
The text was updated successfully, but these errors were encountered: