Reviewed: https://reviews.mahara.org/9744 Committed: https://git.mahara.org/mahara/mahara/commit/50125de2ae344b86c93152b7ccf50a0fc485cace Submitter: Cecilia Vela Gurovic (<email address hidden>) Branch: 19.04_STABLE
commit 50125de2ae344b86c93152b7ccf50a0fc485cace Author: Robert Lyon <email address hidden> Date: Thu Apr 4 14:27:59 2019 +1300
Bug 1823065: Site staff should not see users outside 'no institution'
When $cfg->isolatedistitutions are turned on because if they can and message a user that user can't reply to them
Also fixed default filter option from throwing error if current user is in no institution
Also fix up online users - consolidate duplicate code and restrict non-admins in no institution is isolated institutions is turned on
behatnotneeded
Change-Id: I5828147461f513bb392598d62337d417e631e6f2 Signed-off-by: Robert Lyon <email address hidden> (cherry picked from commit 279c33c42106db66c80fbd0a9900d53196fc2a27)
Reviewed: https:/ /reviews. mahara. org/9744 /git.mahara. org/mahara/ mahara/ commit/ 50125de2ae344b8 6c93152b7ccf50a 0fc485cace
Committed: https:/
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 19.04_STABLE
commit 50125de2ae344b8 6c93152b7ccf50a 0fc485cace
Author: Robert Lyon <email address hidden>
Date: Thu Apr 4 14:27:59 2019 +1300
Bug 1823065: Site staff should not see users outside 'no institution'
When $cfg->isolatedi stitutions are turned on because if they can and
message a user that user can't reply to them
Also fixed default filter option from throwing error if current user
is in no institution
Also fix up online users - consolidate duplicate code and restrict
non-admins in no institution is isolated institutions is turned on
behatnotneeded
Change-Id: I5828147461f513 bb392598d62337d 417e631e6f2 6c80fbd0a9900d5 3196fc2a27)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 279c33c42106db6