Project

General

Profile

Actions

Feature #15700

closed

Add leave site functionality to "Dashboard > My Sites" in admin area

Added by Raymond Hoh over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress (misc)
Target version:
Start date:
2022-03-22
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

In #8292, we implemented a "Leave site" feature when you're on your profile's "My Sites" page.

This ticket is to supplement (or supplant) this functionality with another way to leave sites. WordPress already has an internal page that shows which sites you are a member of on the "Dashboard > My Sites" page in the admin area.

We can add some functionality to this page to leave selected sites. Here's an implementation I did for another project:

The notable changes are:
- Adding a "Leave" checkbox. This checkbox only displays if you are not an administrator of the site
- Adding a line to display your role(s) for each site if you are not an administrator of the site

The Commons has a few things we have to keep into consideration such as ensuring the Membership Removal site option is respected (see https://redmine.gc.cuny.edu/issues/8292#note-11), but this should be trivial to add.

Let me know if anyone has any questions or things we need to think about before implementing this.


Related issues

Related to CUNY Academic Commons - Feature #8292: Users should be able to remove themselves from multi-author sitesResolvedRaymond Hoh2017-06-19

Actions
Actions

Also available in: Atom PDF