Institution suspension control awailability for Institution Admin

Bug #525778 reported by Ruslan Kabalin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Undecided
Evan Goldenberg

Bug Description

Since Institution Admin is not allowed to suspend and unsuspend institution (there are relevant checks in institution_suspend_submit and institution_unsuspend_submit finctions), there is no point to display Suspend Institution button for Institution Admin. The patch is attached.

The second patch is optional. Giving above there is no point to allow Institution Admin to set Institution Expiry Date.

This is on master.

Revision history for this message
Ruslan Kabalin (rkabalin) wrote :
tags: added: institution suspension
Revision history for this message
Ruslan Kabalin (rkabalin) wrote :
description: updated
description: updated
Revision history for this message
Evan Goldenberg (naveg) wrote :

Thanks, Ruslan. I've implemented your suggestions, but not quite the way you did in your patches. Commit e33d4d1c3d70db9b05ce887aa90772a0ded6f96d on master.

Changed in mahara:
status: New → Fix Committed
assignee: nobody → Evan Goldenberg (naveg)
milestone: none → 1.3.0
Revision history for this message
Ruslan Kabalin (rkabalin) wrote :

Hi Evan. So, there is no way for Institution Admin to find out that his institution has been suspended in your change?

Revision history for this message
Evan Goldenberg (naveg) wrote :

Good point. I rearranged things a little so institution admins can still see if the institution is suspended in 40d6505fd32f1b023977e59094b6b8c9b47ab0da.

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.