mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13427
[Bug 1223810] Re: Multiple institutions breaks institution move
Hello Howard,
You move users from one institution to another at
http://mahara/admin/users/institutionusers.php and that works fine for
me for users that are in multiple institutions. I tested it on master,
but we did not change that behavior lately and thus should also work
fine in 1.6.
You are wanting to give them a different authentication method if you
are bulk.php. There you actually do not move them into a different
institution, but change their auth method.
I would do the following:
1. Move your users to the new institution first.
2. Remove them from the one that you don't want them in. If they authenticate via an external auth method, they'll get their internal Mahara login details sent, if they only have an internal username, nothing changes.
3. Once you have all your members in your new institution, change their authentication method.
Hope that helps you to get further.
Cheers
Kristina
--
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/1223810
Title:
Multiple institutions breaks institution move
Status in Mahara ePortfolio:
New
Bug description:
Bug found in 1.6
Where there are multiple institutions and membership of multiple
institutions are permitted the bulk move of users from one institution
to another is broken.
The bulk move refuses to consider users who are in more than one
institution. See code in htdocs/admin/users/bulk.php for the function
changeauth_validate(). The validation simply fails if there is more
than one institution record for the user.
So, if I select all users in an institution and them attempt to move
them to a different institution and there are ANY users in multiple
institutions in the list the move will fail for all users.
Worse - I can't think of any obvious workaround.
What I want is for *just* the institution that I selected to be moved
to the alternate institution. There would also need to be a check that
this didn't result in a duplicate if they were in that institution
already.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1223810/+subscriptions
References