← Back to team overview

mahara-contributors team mailing list archive

[Bug 1257953] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2969
Committed: http://gitorious.org/mahara/mahara/commit/96df0b3941ef4f1a22efde76c4da3861a08c1fa1
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    1.8_STABLE

commit 96df0b3941ef4f1a22efde76c4da3861a08c1fa1
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Dec 9 14:58:06 2013 +1300

Allowing for users to not show up in public search (bug 1257953)

Thinking of privacy issues here - when should the users showup on
search results.

This patch allows users to show up based on the access of their
profile page (accesstypes: public, loggedin, friends) and whether
'Show users in public search' is set or not.

Normally all profile pages are accessible by logged in users - but
this can be altered if 'Logged-in profile access' is unchecked and
users remove the access off their profile page.

Conflicts:

	htdocs/admin/site/options.php
	htdocs/search/elasticsearch/lib.php

Change-Id: I4daa8cb2812bddb231ba489dfeefb4843b653d40
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  public group forum info do not show up in elasticsearch

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.8 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed

Bug description:
  Currently in mahara if one creates a group and marks it as a public
  group and adds entries to the forum these entries can only be found in
  a search by members of the group.

  They should be able to be found by anyone that is allowed to view the
  group's forum.

  To test:
  - Have elasticsearch turned on
  - Create a group and tick the 'Publicly viewable group' 
  - Add some topics / replies in the forum section
  - Search for * and you should see your topics / replies in the search results

  Log in as another user (not a member of the group)
  - You can navigate the the group eg interaction/forum/index.php?group=[id of group] and see the forum
  - Search for * and you do not see the topics / replies in the search results

  Also there is a problem with elasticsearch where you need to be logged
  in to use it which shouldn't be the case for finding info on public
  forums

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


References