Hi,
On 11/13/15 09:46, Marc Furon wrote:
Jaap Eldering wrote:
Unfortunately, (assuming DOMjudge >= 5.0) the above import method allows you to create teams and accounts, but *not* to automatically couple them. You could create and import teams.tsv and accounts.tsv files with the team "external ID" field (note that DOMjudge accepts strings, not just integers) matching the user "username" field. Then you can write a simple SQL query to create entries in the DOMjudge userrole table to couple these.
I am working on importing that data now. Does this mean I can use the accounts.tsv file to create accounts for teams, as opposed to the CLICS standard which uses the file for non-team accounts? If so, is the role "team"? I assume the password is cleartext?
Jaap was wrong. We follow the CLICS standard and do only support accounts for non-teams in the accounts.tsv. In these cases, the password is cleartext. (Although you might hack team password import into that function.)
However, you might do it the other way around: use the "manage team passwords" page to export a userdata.tsv for all teams (or teams without password) and use that file to set your passwords for the machines.
Tobi