nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.54k stars 4.08k forks source link

[Bug]: Deleting "remote wipe" of device too soon results in device never being wiped #48900

Open BloodyIron opened 1 month ago

BloodyIron commented 1 month ago

⚠️ This issue respects the following points: ⚠️

Bug description

nextCloud Server version: 29.0.8

After marking a device for remote wipe (in the security section of the personal account settings), and then clicking the trashbin (delete) icon beside that device, before it has completed wiping, the wiping never happens. It also puts that client into a broken state, and can access all the data that was already sync'd to that device.

Steps to reproduce

  1. Target device is off (Ubuntu Linux on a laptop, in this case), but already sync'd data with the desktop client to the computer before being turned off
  2. Go into webGUI for test account, into the Security section
  3. Select target device, mark for "remote wipe", enter password and proceed
  4. Click on the trashbin that now shows up beside the device marked for "remote wipe" in the same window before the device has had a chance to turn on

Expected behavior

  1. Outline that deleting before the remote wipe is complete means the remote wipe doesn't happen (in the UX)
  2. Make it so that the remote wipe happens even if it is deleted before it executes
  3. Make it so I still get a notification of the remote wipe (which I did not in this case) just like if you had not clicked the trashbin

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

joshtrichards commented 1 month ago

Somewhat related (to the overall user experience of this feature): #44863