Skip to content

[stable34] fix(settings): confirm app-token revoke and preserve wipe state#60745

Merged
artonge merged 8 commits into
stable34from
backport/60644/stable34
May 28, 2026
Merged

[stable34] fix(settings): confirm app-token revoke and preserve wipe state#60745
artonge merged 8 commits into
stable34from
backport/60644/stable34

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 26, 2026

Backport of #60644

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Adds an NcDialog confirmation to the Revoke action; deletion was
previously instant on click. When the token is marked for remote
wipe, the dialog surfaces a warning and the destructive button
switches to "Cancel wipe and revoke" so cancelling an in-flight
wipe is an explicit opt-in.

Also migrates the existing Wipe confirm from the legacy
window.OC.dialogs.confirm helper to NcDialog, matching the new
delete dialog. The auth token store actions are now pure API
callers; the UI does the gating.

Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
@backportbot backportbot Bot added enhancement 3. to review Waiting for reviews feature: settings team: IDP Code maintained by 🪪 IDP team labels May 26, 2026
@backportbot backportbot Bot added this to the Nextcloud 34 milestone May 26, 2026
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
@pringelmann pringelmann marked this pull request as ready for review May 27, 2026 14:41
@pringelmann pringelmann requested review from a team as code owners May 27, 2026 14:41
@pringelmann pringelmann requested review from come-nc, nfebe and sorbaugh and removed request for a team May 27, 2026 14:41
@artonge artonge merged commit b8f2dd4 into stable34 May 28, 2026
230 of 259 checks passed
@artonge artonge deleted the backport/60644/stable34 branch May 28, 2026 08:04
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 enhancement feature: settings team: IDP Code maintained by 🪪 IDP team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants