Let institutional admins see all last institutions
Before institutional admins that weren't site admins went to the members
page, they only saw the institutions they administered in the drop down
for last institution where they should see all.
This patch adds an extra flag to the get_institution_selector to allow
non site admins to be treated as a site admin (for the purpose of getting
a list of all instituions.
Reviewed: https:/ /reviews. mahara. org/582 gitorious. org/mahara/ mahara/ commit/ 9cea3b25f091a8a d051c57dcb80ee2 23583b95bc
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit 9cea3b25f091a8a d051c57dcb80ee2 23583b95bc
Author: Hugh Davenport <email address hidden>
Date: Mon Aug 15 10:13:03 2011 +1200
Let institutional admins see all last institutions
Before institutional admins that weren't site admins went to the members
page, they only saw the institutions they administered in the drop down
for last institution where they should see all.
This patch adds an extra flag to the get_institution _selector to allow
non site admins to be treated as a site admin (for the purpose of getting
a list of all instituions.
Bug #825578
Change-Id: Idb0c044177dce4 33de00cc00338a1 db25233ed6c
Signed-off-by: Hugh Davenport <email address hidden>