Automattic / Automattic/jetpack

Allow admins to unlink users from Jetpack

Open
#7,911 1 comment 0 reactions 0 assignees View on GitHub
[Pri] Normal [Status] Stale Bug General
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Situation:

Site uses WP.com SSO exclusively after a migration from using local accounts.
WP.com user is linked to User A.
User wants to start using existing, unlinked User B instead.
WooCommerce site, so no access to wp-admin for the user by design, so the user can't unlink.
Admin can't disassociate WP.com user to User A.

I banged my head against the desk realizing that under the above setup, I can *see* that the local User A is connected with the Jetpack logo in the users list table, but there is no option to unlink, flush the meta, etc, without adding a new code somewhere or having CLI access.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Begin by locating Jetpack’s WP.com SSO user-linking and admin user-management entry points, then define and verify an administrator unlink workflow that lets the existing local account be used.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.