diff --git a/README.md b/README.md index b571c30..abfd894 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,16 @@ Notes are freeform text, and will appear in the account report ## Editing Users -Editing users using the GUI isn't yet supported. To update a user, -you can import again from .CSV +When you click "Save" in the Create/Update section, it'll copy the fields into +the user list. If the user exists, it'll be overridden. Otherwise, a new user +will be created in the list. + +You can click a row in the list to copy from the user list to the fields. + +To copy a user, you can click it in the user list, change the name, and then +click save. + +Clicking Delete will delete the user with the given name. ## Exporting diff --git a/bulk_create.lua b/bulk_create.lua index bda075d..7c00f3a 100644 --- a/bulk_create.lua +++ b/bulk_create.lua @@ -254,6 +254,10 @@ end function bulk_dialog.on_submit(player, context, fields) + if not minetest.check_player_privs(player, { server = true }) then + return + end + context.message = "" if fields.import_files then