Refactor department-level permission checks and enhance handling of empty department filters across routes and related object methods.

This commit is contained in:
Jeppe Bundgaard
2026-01-15 11:28:44 +01:00
parent ed7299fc43
commit 6cc5344fc2
7 changed files with 41 additions and 12 deletions
+1 -1
View File
@@ -653,7 +653,7 @@ class users_o extends db
self::requireSelected();
// Get the group of the user
$group = new groups_o();
$group->select($this->group_id->value());
$group->select((int)$this->group_id->value());
return $group;
}