Comment 2 for bug 1777785

Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

I've tested with internal and SAML options, I can confirm it works for both of them.

For internal auth:
- Have an institution with at least one member.
- Suspend the institution
- Try to login with the user from the institution
Result:
 I'm not logged in and see the message:
 " Your institution <Institution name> has been suspended. Until it is unsuspended, you will not be able to log in to Mahara."

For SAML auth:
- Have 2 institutions, institution1 and Institution2, both using the same idp but different institution value to check against.
- Suspend Institution1
- Try to login to Institution1
result:
 I'm not logged in and see the message:
 " Your institution <Institution name> has been suspended. Until it is unsuspended, you will not be able to log in to Mahara."
- Try to login with another user to Institution2 not suspended
Result:
 I can login without any problem