-
Notifications
You must be signed in to change notification settings - Fork 184
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
listing drives sould use the user filter #6103
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. |
519d7ec
to
558df1b
Compare
💥 Acceptance test localApiTests-apiGraph-ocis failed. Further test are cancelled... |
@aduffeck duh we are not invalidating the filemetadata cache when deleting a space ... needs a reva fix |
558df1b
to
b997ce6
Compare
@@ -469,7 +479,7 @@ var _ = Describe("Graph", func() { | |||
r := httptest.NewRequest(http.MethodPost, "/graph/v1.0/drives", bytes.NewBuffer(jsonBody)).WithContext(ctx) | |||
rr := httptest.NewRecorder() | |||
svc.CreateDrive(rr, r) | |||
Expect(rr.Code).To(Equal(http.StatusUnauthorized)) | |||
Expect(rr.Code).To(Equal(http.StatusForbidden)) |
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.
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.
lgtm
fd672dd
to
7d5aa70
Compare
547f22b
to
422f671
Compare
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
422f671
to
245d9dd
Compare
needs cs3org/reva#3826 |
7a75fdd
to
b074537
Compare
b074537
to
8cc57ba
Compare
Kudos, SonarCloud Quality Gate passed! |
* listing drives shsould use the user filter Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix status code Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * check correct error Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * Adapt expected failures * Bump reva --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
* listing drives shsould use the user filter Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix status code Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * check correct error Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * Adapt expected failures * Bump reva --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
when a user lists all spaces he has access to (unrestricted==false) we should send a user filter, so decomposedfs has a chance to use an index instead of iterating over ALL spaces.
part of todays tracing session, the reva part is in cs3org/reva#3809
blocked by cs3org/reva#3826blocked by cs3org/reva#3827