mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13446
[Bug 1223810] Re: Multiple institutions breaks institution move
On institutionusers.php you can add your users to an additional
institution (and then leave them in their old one or remove them from
their old institution). Users do get a notification when they are added
to an institution. If you do not want such notifications sent, you'd
have to customize your code and remove the sending of a notification.
Notifications are sent so that users know that they are now part of a
new institution.
The limit in the boxes where you can choose your users is hard-coded.
Thus, you can increase it in the code to your liking. We have increased
it on some of our instances to 250, but not limitless so as not to slow
down the server. ;-)
If you do not want to making code changes to stop notifications from
being sent and don't want to click on users individually, a script might
be easier that moves your users to a different institution. Although you
connect to the same LDAP, the auth method should probably be changed to
reflect the correct institution, but it shouldn't matter as it's the
same LDAP.
--
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