-
Notifications
You must be signed in to change notification settings - Fork 196
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
[full-ci] Resharing #3904
[full-ci] Resharing #3904
Conversation
cd636da
to
4206509
Compare
Looks good, great work. I would suggest to add cases:
|
@ScharfViktor thanks for reviewing! I (presumably) addressed all issues, could you check again? Also I added test for file resharing and resharing with different permissions. Please let me know if I should add more testcases. re-sharing to group will not work atm. I will add a test later |
@kobergj great job. ps re-sharing to group works for me, my request:
|
22dc3e4
to
aa65576
Compare
check for removegrant instead addgrant Signed-off-by: jkoberg <[email protected]> add e2e tests Signed-off-by: jkoberg <[email protected]> expected failures Signed-off-by: jkoberg <[email protected]> enable resharing Signed-off-by: jkoberg <[email protected]>
update testing expected passes Signed-off-by: jkoberg <[email protected]> update tests Signed-off-by: jkoberg <[email protected]> update the tests Signed-off-by: jkoberg <[email protected]> more unexpected passes Signed-off-by: jkoberg <[email protected]> add more api tests Signed-off-by: jkoberg <[email protected]>
https://drone.owncloud.com/owncloud/ocis/12507/38/6
those can be removed from expected-failures now - good. |
https://drone.owncloud.com/owncloud/ocis/12507/47/6
Old closed issue #3732 - it looks like this Etag test has been a bit flaky in the past. If it fails again we need to chase it up. |
Signed-off-by: jkoberg <[email protected]> expected failures Signed-off-by: jkoberg <[email protected]>
Signed-off-by: jkoberg <[email protected]>
bump custom reva version Signed-off-by: jkoberg <[email protected]> new reva Signed-off-by: jkoberg <[email protected]> bump reva Signed-off-by: jkoberg <[email protected]> bump reva bump reva more reva bumping Signed-off-by: jkoberg <[email protected]> newest reva Signed-off-by: jkoberg <[email protected]> bump reva Signed-off-by: jkoberg <[email protected]>
@phil-davis Thanks! It works smoothly now. Regarding |
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 🚀
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, some small nitpicks
@@ -498,7 +498,7 @@ func (g Graph) cs3StorageSpaceToDrive(ctx context.Context, baseURL *url.URL, spa | |||
tmp := id | |||
identity := libregraph.IdentitySet{User: &libregraph.Identity{Id: &tmp}} | |||
switch { | |||
case perm.AddGrant: | |||
case perm.RemoveGrant: |
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.
I would like a code comment why we check that grant.
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.
@micbar I added a comment. Please check again if it is clear enough
Signed-off-by: jkoberg <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
Description
Adds and activates resharing functionality for ocis
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: