Cannot disconnect users

Created on 21 July 2022, over 2 years ago
Updated 31 August 2023, over 1 year 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

Needs review

Version

2.0

Component

Code

Created by

🇮🇹Italy maurizio.ganovelli Arezzo

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

Merge Requests

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