user quota is not enforced when institutional admin adds user

Bug #783695 reported by Hugh Davenport
6
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/extensions/pluginconfig.php?plugintype=artefact&pluginname=file&type=file
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

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

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

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Changed in mahara:
assignee: nobody → Hugh Davenport (hugh-catalyst)
status: New → In Progress
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.5.0
Changed in mahara:
importance: Undecided → Medium
Melissa Draper (melissa)
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.