← Back to team overview

mahara-contributors team mailing list archive

[Bug 1730530] A change has been merged

 

Reviewed:  https://reviews.mahara.org/8506
Committed: https://git.mahara.org/mahara/mahara/commit/4ea8ee0ddae228c9eac63a48fa44b3a83f66280d
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    17.10_STABLE

commit 4ea8ee0ddae228c9eac63a48fa44b3a83f66280d
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Nov 7 12:49:31 2017 +1300

Bug 1730530: Elasticsearch use different auths for reading from/writing
to index

This way we can make the elasticsearch safer so that only mahara site
admins can access the index in write mode.

Also adjust how we pass the $hosts configuration to the client builder

behatnotneeded

Change-Id: I30218473ee6b87346783462d30ab627dce985338
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit fa4b44eab830a237f213dc9993544f55ebb69bea)

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

Title:
  Allow elasticsearch to handle different auth for read from vs write to
  index

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed

Bug description:
  If you are using an elasticsearch plugin like Search Guard or being
  safe in general you might want to have separate auth for writing to
  your index vs searching/reading from it.

  To handle this we will need to allow the options for saving this other
  user/password pair

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


References