mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09358
[Bug 1003980] A change has been merged
Reviewed: https://reviews.mahara.org/1300
Committed: http://gitorious.org/mahara/mahara/commit/5c578a384dcfc2a7809b8d78b415b5082c84793b
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch: master
commit 5c578a384dcfc2a7809b8d78b415b5082c84793b
Author: Simon Story <simon.story@xxxxxxxxxxxxxxx>
Date: Wed May 30 15:52:21 2012 +0100
Add SAML config error for autocreation & registerallowed (bug #1003980)
Display an error if a user tries to enable auto-creation at the same
time as having registration enabled for an instition.
Change-Id: I22cf0df27c5e4edc3d7f71e8870fe84620419279
Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1003980
Title:
SAML user autocreation can become impossible
Status in Mahara ePortfolio:
Triaged
Bug description:
It is possible to put yourself in a situation where users having users
auto-created by an authentication plugin is impossible.
By design, for auto-creation to happen, all institutions must be
registerallowed = 0 .
By design, when an authentication plugin is added to an institution,
registerallowed is set to 0. But it is not set for all institutions,
if multiple exist.
Once an authentication plugin is added to an institution, via the web
interface the control to toggle registerallowed for an institution is
hidden.
To reproduce from a fresh installation of Mahara:
Create an institution
Set config item usersuniquebyusername = 1
Add and configure an authentication plugin
Attempt to login with with a new user that should autocreate, which will fail because the 'mahara' institution will still have registerallowed = 1
To workaround:
Connect to the database and set registerallowed = 0 for all institutions, eg 'UPDATE institution set registerallowed = 0 ;'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1003980/+subscriptions
References