Issue Details (XML | Word | Printable)

Key: MDL-16982
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: Domenico Pontari
Votes: 3
Watchers: 10
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Adding data mapping for custom user fields

Created: 23/Oct/08 05:26 PM   Updated: 20/Aug/09 03:47 AM
Return to search
Component/s: Administration, Authentication
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File patch2.patch (13 kB)


Participants: Domenico Pontari, Eloy Lafuente (stronk7), Fernando Martin, Martin Dougiamas, Olav Jordan, Petr Skoda and Shane Elliott
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
I'd like having the possibility to add data mapping for custom user fields when I use LDAP or DB auth modules

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 19/Nov/08 09:36 AM
Sounds logical for me. Assigning to Martin for his consideration. Addressing for Moodle 2.0, perhaps as part of the auth/enrol rework?. Adding some specialists in custom profile fields & authentication/enrolments.

Thanks for report. Ciao


Martin Dougiamas added a comment - 19/Nov/08 05:35 PM
Yes, absolutely.

This would be part of the general process of converting most of of the fixed user profile fields into custom user fields in Moodle 2.0, which solves a lot of things. There is a bug for this somewhere ..... Shane?


Domenico Pontari added a comment - 20/Nov/08 01:07 AM
We already developed this feature for Moodle 1.8
If you think it could be useful for Moodle's developers I can post our hack.
However if you are planning a rework for auth component, it's better if you don't think about the code you wrote before.

Shane Elliott added a comment - 24/Dec/08 01:32 PM
Related issue is: MDL-10908

Fernando Martin added a comment - 14/Apr/09 04:31 AM
Hi there!

Finally I found a post related to my requirement. (happy for that)

Look, I'm connecting Moodle to an LDAP previously authenticated against a CAS server.
Among the fields in the LDAP tree I'm storing the userRoleID, which is quite suggesting of what is its purpose, don't you think?
Well... Now I need to find a way to bind that roleID to Moodle's roleIDs.

The problem here is that our client is a bit in a hurry and maybe he couldn't wait till v2.0

Is there any way / help / code you could give me in order to solve this?
Sorry, but I'm no familiar to Moodle's code even though I'm PHP dev.

Any guidelines will be very appreciated!

Thnx for reading.
Fernando Martin (aka "Pampa")


Petr Skoda added a comment - 14/Apr/09 04:40 AM
Please use moodle.org forums for general support, this might not be the best place

Fernando Martin added a comment - 14/Apr/09 04:45 AM
Ok Petr.. sorry for my bad.

I came here Googling
I'll re-post my message.

Kind regards!
Pampa


Olav Jordan added a comment - 20/Aug/09 03:46 AM
Just wanted to say I made a patch for this issues in moodle 1.9

Olav Jordan added a comment - 20/Aug/09 03:47 AM
patch for custom fields mapping to LDAP in moodle 1.9