← Back to team overview

mahara-contributors team mailing list archive

[Bug 1187963] Re: Updating group members by CSV caused existing group admins removed

 

Hi Son,

I don't think that this is a bug but expected behavior. When you update
the group members via a CSV file you update ALL members. That means: If
one member is not in the CSV file, they are dropped as members. Please
see the warning at
http://manual.mahara.org/en/1.7/administration/groups.html#update-group-
members-by-csv

Thus, if you wish to keep u04 as admin, this person needs to be in the
CSV file and have the role admin.

Cheers
Kristina

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1187963

Title:
  Updating group members by CSV caused existing group admins removed

Status in Mahara ePortfolio:
  New

Bug description:
  Version: master
  Platform: all

  Assumptions
   - a group with shortname: g01, institution A. 
   - The group's admin: u04
   - CSV file to update:
  shortname,username,role
  "g01","u01","admin"
  "g01","u02","member"
  "g01","u03","member"

  Actions
   1. Login as institution A admin or site admin
   2. Access the "Administer groups" (/admin/groups/groups.php)
   3. Click "Update group members by CSV"
   4. Choose Institution = institution A
   5. Choose the above CSV file
   6. Click Update button.

  Expected result:
   The admins of the group g01 should be u04 and u01.

  Actual result:
   The existing admin of the group g01: u04 has been removed from the group.

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


References