← Back to team overview

mahara-contributors team mailing list archive

[Bug 1640308] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7244
Committed: https://git.mahara.org/mahara/mahara/commit/210a98b41a10a08409596f731fb6b59d6479ad1c
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 210a98b41a10a08409596f731fb6b59d6479ad1c
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Nov 10 10:44:51 2016 +1300

Bug 1640308: Adding an auth_instance "active" column

To allow us to easily turn of a 'bad' auth when it is trying to
connect to a third party server but that server is not reachable.

Currently it makes logging in slow as it needs to timeout on that auth
instance before trying the next one.

behatnotneeded

Change-Id: Ieeaeeaeb1bc0aa61ed3faad8f3bf751edd9c1023
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/1640308

Title:
  Bad auth instance slows down login for all institutions

Status in Mahara:
  Fix Committed

Bug description:
  If we have an auth instance in Mahara that needs to talk to a
  thirdparty site and the connection can't be made then it slows down
  the login for all institutions on the site.

  Currently the only way to deal with this is to move users off the
  badly functioning auth to another auth (like internal) and then delete
  the bad auth.

  What we really need to have is the ability to switch off an auth
  instance to stop it causing problems and when the problems for it are
  fixed then turn it back on again.

  I'm envisaging that we add an 'active' column to the auth_instance
  table so that every instance can be on/off (0/1).

  Then for our db calls to auth things check that the auth_instance is
  active as well as checking that auth is asctive.

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


References