Cannot disconnect users

Created on 21 July 2022, over 2 years ago
Updated 11 November 2023, 12 months ago

Problem/Motivation

It isn't possible for an admin to disconnect users from UI.

Steps to reproduce

Visit user/[uid]/connected-accounts (note uid must be not current user id), try to disconnect, you receive the "You cannot connect another user's account." error.

Proposed resolution

Add a check if current operation is effectively "connected" before checking conditions that apply only to this action.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

🇮🇹Italy maurizio.ganovelli Arezzo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024