Fixed creation of users + better frontend handling of permissions
This commit is contained in:
@@ -13,6 +13,7 @@ func HandleUsers(w http.ResponseWriter, r *http.Request) {
|
||||
var users []models.User
|
||||
count, err := core.DB.NewSelect().
|
||||
Model(&users).
|
||||
Order("created_at ASC").
|
||||
Relation("Roles").
|
||||
ScanAndCount(context.Background())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user