← Back to team overview

mahara-contributors team mailing list archive

[Bug 1823065] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9744
Committed: https://git.mahara.org/mahara/mahara/commit/50125de2ae344b86c93152b7ccf50a0fc485cace
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    19.04_STABLE

commit 50125de2ae344b86c93152b7ccf50a0fc485cace
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>
(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


References