user quota is not enforced when institutional admin adds user
Bug #783695 reported by
Hugh Davenport
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Hugh Davenport |
Bug Description
in admin/users/add.php
When an institutional admin adds a user, and sets a quota higher then the maximum quota
specified in /admin/
Expected: an error printed and not creating a user
Actual: user created with quota as specified (higher than maximum)
This happens whether the maximum is enforced or not (checkbox on above page)
Cheers,
Hugh
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | none → 1.5.0 |
Changed in mahara: | |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Just noticed that there is a check on the user edit page /admin/ users/edit. php
This check is done whether you are site admin or institutional admin
I suggest, either remove that check for site admins, and leave only inst. admins
or, add in the check needed for this bug for both site admins and inst. admins