implement user create/delete and group membership add/delete routes

This commit is contained in:
2026-04-22 16:24:01 +00:00
parent a945f3aed6
commit d82602e508
2 changed files with 165 additions and 2 deletions
+14
View File
@@ -5,3 +5,17 @@ type Login struct { // login body struct
Username Username
Password string `form:"password" binding:"required"`
}
type UserFormRequired struct { // add user body struct
CN string `form:"cn" binding:"required"`
SN string `form:"sn" binding:"required"`
Mail string `form:"mail" binding:"required"`
Password string `form:"password" binding:"required"`
}
type UserFormOptional struct { // modify user body struct
CN string `form:"cn"`
SN string `form:"sn"`
Mail string `form:"mail"`
Password string `form:"password"`
}