Closed orenyk closed 5 years ago
Turns out that I was mistaken - the old way of doing this was to export a CSV file with all of the relevant users and their attributes, then re-upload with a new role selected. When you only pass in the username it tries to overwrite the other attributes with nil
, which then fails validations.
We've always had a workaround to ban multiple users (e.g. graduating students) by importing a CSV file with their usernames and setting their role to "Banned" (checking the "Update existing users" checkbox). That doesn't appear to be working - the import says it completed successfully but it isn't banning them.