Reviewed: https://reviews.mahara.org/12167 Committed: https://git.mahara.org/mahara/mahara/commit/f958ef4705cf1232195b5c1b6aead9f2e718ead1 Submitter: Robert Lyon ([email protected]) Branch: main
commit f958ef4705cf1232195b5c1b6aead9f2e718ead1 Author: Dianne Tennent <[email protected]> Date: Wed Oct 20 17:28:01 2021 +1300 Bug #1947643 Limit groups to be created in an institution - Site admin can set max limit for groups in an institution - Institution admins and non-admins are notified when attempting to create or copy a group beyond their limit, or associate a group with an institution that has reached its limit. - Currently, group max limit can be set to zero or blank and it means no limit Change-Id: I463ebceb8ec02df35747aba9244b938b9abbc53d -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1947643 Title: Limit the number of groups that can be created in an institution Status in Mahara: Fix Committed Bug description: When a site is used for multiple institutions, it would be good for the site administrator to limit how many groups can be created within an institution, similarly to how they can set a maximum number of accounts. That will help administer the site more easily without needing to do any manual checking. 1. Add a setting 'Maximum number of groups allowed' below the setting 'Maximum number of accounts allowed' on the institution settings page. 2. That setting shall only be visible to site administrators like 'Maximum number of accounts allowed' so that institution admins cannot change it. 3. That setting shall not be available for 'No institution'. There is no limit on how many groups can be created in 'No institution'. 4. Add two columns to the overview page for the institutions at Admin menu -> Institutions -> Settings: - Groups - Maximum number of groups 5. Change the 'Maximum' column heading to 'Maximum number of members' to differentiate it from the groups. 6. When someone tries to add a group to an institution that has reached its limit, either via manually creating a group, copying a group, or bulk uploading groups, have an error message along the lines of: a) single group is created from Main menu -> Engage -> Groups and also when group is copied: This group was not added because the maximum number of groups allowed in this institution has been reached. Please get in touch with your [institution administrator](/institution/index.php?institution=APPROPRIATEINSTITUTION) for next steps. b) bulk group creation in Admin menu -> Groups -> Add groups by CSV: The group creation failed because the maximum number of groups allowed in this institution has been reached. Please get in touch with the site administrator to discuss raising the limit. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1947643/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

