← Back to team overview

mahara-contributors team mailing list archive

[Bug 1830302] Re: Messages Sending ignoring user preference

 

Commit hash: 28fc80f6ffeb5691ce292682771dbfb7736fed6d
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw | Default raw | Ocean | Modern | Primary school 

PRECONDITIONS: 
------------------------ 
1) Mahara User1 and User2 exist and both have the following set in their preferences 
     a) 'Messages from other users' = 'Allow people on my friends list to send me messages'
2) Neither User1 nor User2 are friends of each other
3) The site is not set up as isolated institution ($cfg->isolatedinstitutions = false;)

TEST STEPS: 
------------------------ 
1) Log in as User1 and attempt to create a message to User2. Mahara allows the message to be sent.
2) Verify that user cannot sent a message to User2 who is not a friend 

Catalyst QA Approved ✔

-- 
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/1830302

Title:
  Messages Sending ignoring user preference

Status in Mahara:
  In Progress
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  In Progress

Bug description:
  Mahara: 19.04.0
  OS: Linux
  DB: Postgres
  Browser: FF

  There is a bug that was introduced with the isolated institution. It
  is ignoring the user message preferences.

  Scenario:

  * User1: set User > Settings > Preferences - 'Messages from other
  users' = 'Allow people on my friends list to send me messages'

  * User2: set User > Settings > Preferences - 'Messages from other
  users' = 'Allow people on my friends list to send me messages'

  * Neither User1 nor User2 are friends of each other

  * The site is not set up as isolated institution
  ($cfg->isolatedinstitutions = false;)

  
  Log in as User1 and attempt to create a message to User1. Mahara allows the message to be sent.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1830302/+subscriptions


References