Opened 13 years ago

Closed 13 years ago

#114 closed enhancement (fixed)

Bulk group suspension

Reported by: adehnert Owned by:
Priority: major Milestone: Near Release
Component: Core Version:
Keywords: Cc:
Size: medium

Description

We need a mechanism to suspend the groups that haven't updated their info. The mechanism should not require updating their database entries. Tracking "suspension batches" would be neat (was this group suspended for not updating their DB entry? not doing anti-hazing?), though not required.

Change History (1)

comment:1 Changed 13 years ago by adehnert

  • Resolution set to fixed
  • Status changed from new to closed

Fixed:

commit 9a2cd1762102cd8f078d0739c92f23d8a9f3c977
Author: Alex Dehnert <adehnert@mit.edu>
Date:   Fri Jun 22 03:54:13 2012 -0400

    Add script to ease bulk status changes of groups
    
    This adds groups/change_status.py, which allows you to give it a list of
    groups (identified by ID or name) on stdin. It will iterate over each group,
    performing (optionally) the following operations:
    * email the group, using a specified template
    * add a note to the group's database entry
    * change the group's status to a specified status (e.g., "derecognized")
    * print an informative message as CSV for possible further processing
Note: See TracTickets for help on using tickets.