Feature: add remote user to CSV upload

Bug #735909 reported by PiersHarding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
PiersHarding

Bug Description

I'd like to add remoteuser as an upload field to the 'Add Users by CSV' function. As part of this, I would also like to be able to set the remoteuser regardless of whether the auth type selected is 'internal' or not. I have attached a patch for this, and would appreciate some discussion around the proposal, and if there are any problems anyone can see with this.

For the curious, the reason for wanting to have the remoteuser on internal auth types is so that eventually I could enable SAML users to have dual login (manual password, and SAML).

Cheers,
Piers Harding.

Revision history for this message
PiersHarding (piersharding) wrote :
Revision history for this message
François Marier (fmarier) wrote :

Hi Piers,

Since you're just adding a new optional field, I don't see a reason for not merging this in. It shouldn't affect anybody and can be readily ignored by anybody who doesn't need it.

I've got two minor comments on the patch itself:

1- You don't really have to update the langpack in the example since the list that's given there is a list of common/required fields, not a list of all fields that are available.

2- Your change in lib/user.php has a superfluous line that's commented out.

Cheers,
Francois

Revision history for this message
PiersHarding (piersharding) wrote :

Thanks Francois. I've amended the patch, and committed to master.

Cheers,
Piers Harding.

Changed in mahara:
status: New → In Progress
assignee: nobody → PiersHarding (piersharding)
status: In Progress → Fix Committed
Revision history for this message
François Marier (fmarier) wrote :

Setting the milestone to 1.4.0 since that will be the first release to include this change.

Changed in mahara:
milestone: none → 1.4.0
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.