unmojang/drasl

Implement admin accounts and invites

Closed this issue · 0 comments

  • Some way to configure initial admin users
    • List of usernames in the TOML file? Maybe, but then adding a new admin requires editing the config and restarting Drasl
    • First created user is an admin?
  • Ability to invite users via 1-time use URL even if open registration is closed
  • Tests
    • RegistrationNewPlayer with invite
    • RegistrationExistingPlayer with invite, skin verification
    • /drasl/admin/new-invite
    • /drasl/admin/delete-invite
    • /drasl/admin
    • /drasl/admin/update-users
    • /drasl/admin/delete-user
    • First user should be admin, any subsequent should not
    • View/edit another user's profile if you're admin, and if you're not you shouldn't be able to