← Back to team overview

mahara-contributors team mailing list archive

[Bug 1836977] Re: Should not display message link when messages set to 'nobody' and isolated institutions set

 

Commit hash: 06112d9949a52a500f396f30d488acb0e0d96d23
Environment tested: Master
Browser tested: Chrome
Theme used:  Raw

PRECONDITIONS: 
------------------------ 
1) Isolated institutions via $cfg->isolatedinstitutions = true; in config.php
2) Institution exists (Instone)
3) Users exist that are menbers of instone as follows 
   a) User1 - has Messages from other users = Do not allow anyone to send me messages
   b) User2 - has Messages from other users = Allow anyone to send me messages

TEST STEPS: 
------------------------ 
1) Log in as User2 
2) Browse to Engage > People 
3) Click on User1 to view their Profile page 
4) Verify that the  message icon/link is not displayed ✔

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

Title:
  Should not display message link when messages set to 'nobody' and
  isolated institutions set

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

Bug description:
  If a user sets their message preference to 'nobody' then we shouldn't
  display the message icon on their profile page

  To test:

  Have some users in the same institution and have one of them set their account preference for messages to nobody
  Turn on isolated institutions via $cfg->isolatedinstitutions = true; in config.php 
  Log in as another member of the institution and view the profile pages of other users - the one with 'nobody' for message preference should not show the message icon/link

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


References