← Back to team overview

mahara-contributors team mailing list archive

[Bug 1752183] [NEW] Groups can end up with no admins and/or no members at all

 

Public bug reported:

When a user is deleted they are removed from any groups they belong -
but there is no check to see if they are the only admin member of the
group (or even the only member).

There needs to be some logic around this

When self deleting:
-------------------
- Delete (or warn about) all groups they are the only member of
- Warn about all groups that have them as only admin member (but have other members) and give them a chance to assign another member to be group admin

When deleting user as admin:
----------------------------
- Warn if the user is only member or only admin of groups to allow admin to assign new admin(s) / member(s)

** Affects: mahara
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1752183

Title:
  Groups can end up with no admins and/or no members at all

Status in Mahara:
  Confirmed

Bug description:
  When a user is deleted they are removed from any groups they belong -
  but there is no check to see if they are the only admin member of the
  group (or even the only member).

  There needs to be some logic around this

  When self deleting:
  -------------------
  - Delete (or warn about) all groups they are the only member of
  - Warn about all groups that have them as only admin member (but have other members) and give them a chance to assign another member to be group admin

  When deleting user as admin:
  ----------------------------
  - Warn if the user is only member or only admin of groups to allow admin to assign new admin(s) / member(s)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1752183/+subscriptions


Follow ups