Reviewed: https://reviews.mahara.org/9744 Committed: https://git.mahara.org/mahara/mahara/commit/50125de2ae344b86c93152b7ccf50a0fc485cace Submitter: Cecilia Vela Gurovic (cecili...@catalyst.net.nz) Branch: 19.04_STABLE
commit 50125de2ae344b86c93152b7ccf50a0fc485cace Author: Robert Lyon <robe...@catalyst.net.nz> 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 <robe...@catalyst.net.nz> (cherry picked from commit 279c33c42106db66c80fbd0a9900d53196fc2a27) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1823065 Title: Site staff shouldn't be able to send message to members of other institutions when isolated institutions are on Status in Mahara: In Progress Bug description: Site staff can see profile of everyone and add them to their friends / request friendship, but they can't send them a message. Since institution members only accept messages from site admins, site staff shouldn't be able to do things that can't be reciprocated. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1823065/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp