Mahara does not notify administrators if institutional membership is full

Bug #1204699 reported by William McGrath
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Ghada El-Zoghbi

Bug Description

In a Mahoodle-type setup, if an institution membership is full (as in Institution::$members['maxuseraccounts'] is reached), new users cannot be created when they SSO in from Moodle. This functionality is fine, however there is little feedback to the administrator aside from PHP logging of a XmlrpcClientException.

It would be great if there was the option to email the institution administrator a notification that their institution is full and that they either need to cleanup existing accounts, or they need to increase the maxuseraccounts limit. This would allow administrators to quickly resolve this issue, reducing the incidence of errors being returned to standard users when they attempt to SSO for the first time.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

This does not only apply to Mahoodle, but should be implemented for the entire institution irrespective of the auth method as we don't count how many people connect via a specific auth method, but how many members there are in an institution.

Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

Hi, I'm going to attempt this request. Ghada

Changed in mahara:
assignee: nobody → Ghada El-Zoghbi (ghada-z)
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Ghada,

Great. Jump on IRC if you have a question.

Cheers
Kristina

Changed in mahara:
importance: Medium → Wishlist
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Site admins should also be informed as they are the ones who can change the institution settings. Furthermore, they could also prompt the institution admins. We've had it a number of times that the institution admins didn't read their mails...

Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

Affeced Files (branch bug1204699):
htdocs/lib/institution.php
htdocs/lang/en.utf8/mahara.php

Pushed for review:
 https://reviews.mahara.org/2484

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Ghada El-Zoghbi (ghada-z) wrote :

Uploaded code review changes.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2484
Committed: http://gitorious.org/mahara/mahara/commit/586413dc749b61e1c1c1148272ac4d770c23f931
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 586413dc749b61e1c1c1148272ac4d770c23f931
Author: Ghada El-Zoghbi <email address hidden>
Date: Mon Sep 9 11:15:54 2013 +1000

Notify administrators (site and institution) when membership is full when a new user requests a membership.

Bug #1204699

Change-Id: I5459e14805307da3dfa3ca7d8791569670c8fd5d
Signed-off-by: Ghada El-Zoghbi <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.9.0
tags: added: nominatedfeature
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.