Moodle

User Upload - Assign Roles

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.9
  • Component/s: Administration
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

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).

Issue Links

Activity

Hide
Anthony Green added a comment -

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.

Show
Anthony Green added a comment - 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.
Hide
Lorenzo Nicora added a comment - - 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.

Show
Lorenzo Nicora added a comment - - 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.
Hide
Petr Škoda (skodak) added a comment -

fixed in cvs - you can select roles for types, role field accepts shortname and id, the same with groups

thanks for the report

Show
Petr Škoda (skodak) added a comment - fixed in cvs - you can select roles for types, role field accepts shortname and id, the same with groups thanks for the report

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: