Commit Graph
6 Commits
Author SHA1 Message Date
Claus-Justus Heine e9ccbd95d6 UserBackend: users fetched from the cache have to be converted back from an array representation to the User-object.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine 05360d8aa2 Support NC 25.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine f1ca19cb67 Set max version to 24
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine b39421d32d Selecting and counting users from the User-Group table needs DISTINCT to avoid duplicates.
In particular when using the catch-all group ("Default Group" setting)
the queries which count and select users from the User-Group table need
the "DISTINCT" option: the catch-all group is replaced by a '%'
wild-card in the query. As users may belong by design to more than one
group counting and selecting users comes out wrong. Even worse: the many
duplicates interfere with the paging logic of the user admin-settings.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine b1819aa32e Add @AuthorizedAdminSetting to all controller methods.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:20 +02:00
Claus-Justus Heine ad513bda3e Allow delegation of admin settings.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:20 +02:00