Have a page to list site admin / staff similar to the institution admin / staff one

Bug #1840713 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

Currently for institutions you can see a list of their admins / staff on the institution/index.php page eg,

institution/index.php?institution=cats

It would be good to adjust this page so that if you are wanting to view the 'mahara' institution it returns the site admin / staff

It would also be good if you try to view an institution that doesn't exist that it throws a NotFound exception rather than error messages to screen

Robert Lyon (robertl-9)
Changed in mahara:
importance: Undecided → Wishlist
status: New → In Progress
milestone: none → 19.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10270

Revision history for this message
Steven (stevens-q) wrote :

Commit hash: bf3143ccf0ef3bd2350228d4247267ebb8a0de30
Environment tested: Master
Browser tested: Chrome
Theme used: Raw

PRECONDITIONS:
------------------------
1) Institutions exist as follows
 - a) Institution One - short name = institutionone
 - b) Institution Two - short name = institutiontwo
 - c) No institution - short name = mahara
2) The following Users exist
 - a) UserA - Institution admin for Institution One
 - b) UserB - Institution staff for Institution One
 - c) UserC - Institution admin for Institution Two
 - d) UserD - Institution Staff for Institution Two
 - e) SIte admin - No institution admin for No Institution
 - f) UserE - No institution staff for No Institution

TEST STEPS:
------------------------
1) Log in as Site admin
2) add the following to the base URL
- - /institution/index.php?institution=<inst short name>
3) Add the short name "institutionone" in the above code
4) Verify that the admin and staff are listed for Institution One ✔
5) Add the short name "institutiontwo" in the above code
6) Verify that the admin and staff are listed for Institution Two ✔
7) Add the short name "mahara" in the above code
8) Verify that the admin and staff are listed for No Institution ✔
9) Add the short name "institutionthree" in the above code (Inst does not exist)
10) Verify that the following error message is displayed ✔
- - "Not found
The page you are looking for could not be found.
Institution "institutionthreer" not found"

Catalyst QA Approved ✔

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

Reviewed: https://reviews.mahara.org/10270
Committed: https://git.mahara.org/mahara/mahara/commit/bf3143ccf0ef3bd2350228d4247267ebb8a0de30
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit bf3143ccf0ef3bd2350228d4247267ebb8a0de30
Author: Robert Lyon <email address hidden>
Date: Tue Aug 20 08:45:08 2019 +1200

Bug 1840713: Allow 'mahara' institution to populate institution admin list page

behatnotneeded

Change-Id: Ibfa1bc41bb60ad90b69aee8715ab3581c4ed5882
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
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.