Issue Details (XML | Word | Printable)

Key: MDL-9805
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Škoda (skodak)
Reporter: Stephen Hind
Votes: 0
Watchers: 0
Operations

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

User Upload - Assign Roles

Created: 15/May/07 12:19 AM   Updated: 05/Nov/07 05:45 PM
Component/s: Administration
Affects Version/s: 1.8
Fix Version/s: 1.9

Issue Links:
Dependency
 

Participants: Anthony Green, Lorenzo Nicora, Petr Škoda (skodak) and Stephen Hind
Security Level: None
Resolved date: 05/Nov/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Can a field be added to the CSV file for bulk upload of user accounts that allows you to assign the user roles (as in Administrator, Course Creator etc), and to what context (category, course etc).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Anthony Green added a comment - 23/Jul/07 02:46 AM
This can be done for individual courses in my version of moodle with extra fields role1, role2, role3 etc. in this CSV file. Not sure in what version this was added.

Lorenzo Nicora added a comment - 19/Aug/07 12:16 AM - edited
In the current version (1.9) the "role..." fields in CSV file must contains Role ID.
But there is no way to know the record IDs, without a direct access to the database, so it is not very useful.

Bulk upload should be changed for using Role shortname, as for the "course..." field.


Petr Škoda (skodak) added a comment - 05/Nov/07 05:45 PM
fixed in cvs - you can select roles for types, role field accepts shortname and id, the same with groups

thanks for the report