Skip to content
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

remove storage wrappers when deleting the user storage #32357

Merged
merged 1 commit into from
May 16, 2022

Conversation

icewind1991
Copy link
Member

This mostly matters for stable23 and lower since with 24 the filesystem setup doesn't get triggered by most(?) code paths that trigger the user delete so no wrappers are there in the first place.

To test:

  • setup nc23
  • enable encryption
  • create user, and upload a file
  • occ user:delete the user

Should fix #32251

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 12, 2022
@icewind1991 icewind1991 added this to the Nextcloud 25 milestone May 12, 2022
@icewind1991 icewind1991 requested review from come-nc, a team, blizzz and juliusknorr and removed request for a team May 12, 2022 12:44
@juliusknorr juliusknorr merged commit 778db45 into master May 16, 2022
@juliusknorr juliusknorr deleted the user-delete-remove-wrappers branch May 16, 2022 17:08
@juliusknorr
Copy link
Member

@icewind1991 Shall we backport to all stable branches or just 23?

@Pytal
Copy link
Member

Pytal commented May 17, 2022

@juliushaertl this fixes #29582 as well back to stable22, so this should be backported to all non-EOL stable branches

@Pytal
Copy link
Member

Pytal commented May 17, 2022

/backport to stable24

@Pytal
Copy link
Member

Pytal commented May 17, 2022

/backport to stable23

@Pytal
Copy link
Member

Pytal commented May 17, 2022

/backport to stable22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: occ user:delete throws error for LDAP users (path needs to be relative..) but deletes successfully
4 participants