comparison pkg/models/user.go @ 5330:b1b9b384540d extented-report

Adjust user model and controller to handle reports field.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 31 May 2021 12:56:44 +0200
parents 4847ac70103a
children 95dafb72a288
comparison
equal deleted inserted replaced
5329:795a0a0b5047 5330:b1b9b384540d
44 User UserName `json:"user"` 44 User UserName `json:"user"`
45 Role Role `json:"role"` 45 Role Role `json:"role"`
46 Password string `json:"password,omitempty"` 46 Password string `json:"password,omitempty"`
47 Email Email `json:"email"` 47 Email Email `json:"email"`
48 Country Country `json:"country"` 48 Country Country `json:"country"`
49 Reports bool `json:"reports,omitempty"`
49 Extent *BoundingBox `json:"extent"` 50 Extent *BoundingBox `json:"extent"`
50 } 51 }
51 52
52 // PWResetUser is send to request a password reset for a user. 53 // PWResetUser is send to request a password reset for a user.
53 PWResetUser struct { 54 PWResetUser struct {