Skip to content

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

Merged
Altahrim merged 9 commits into
stable32from
backport/60644/stable32
May 28, 2026
Merged

[stable32] fix(settings): confirm app-token revoke and preserve wipe state#60769
Altahrim merged 9 commits into
stable32from
backport/60644/stable32

Conversation

@pringelmann
Copy link
Copy Markdown
Contributor

@pringelmann pringelmann commented May 27, 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>
@pringelmann pringelmann self-assigned this May 27, 2026
@pringelmann pringelmann marked this pull request as ready for review May 27, 2026 13:22
@pringelmann pringelmann requested review from a team as code owners May 27, 2026 13:22
@pringelmann pringelmann requested review from artonge, nfebe, salmart-dev, sorbaugh and susnux and removed request for a team May 27, 2026 13:22
@pringelmann pringelmann added this to the Nextcloud 32.0.10 milestone May 27, 2026
@pringelmann pringelmann added 3. to review Waiting for reviews feature: settings team: IDP Code maintained by 🪪 IDP team enhancement labels May 27, 2026
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
@Altahrim Altahrim merged commit 5091d62 into stable32 May 28, 2026
216 of 226 checks passed
@Altahrim Altahrim deleted the backport/60644/stable32 branch May 28, 2026 14:11
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.

4 participants