Implemented Userfields for users (closes #1159)

This commit is contained in:
Bernd Bestel
2020-12-20 22:16:58 +01:00
parent 8f1ce607f7
commit 2b13102299
4 changed files with 18 additions and 1 deletions

View File

@@ -64,7 +64,9 @@ class UsersController extends BaseController
{
User::checkPermission($request, User::PERMISSION_USERS_READ);
return $this->renderPage($response, 'users', [
'users' => $this->getDatabase()->users()->orderBy('username')
'users' => $this->getDatabase()->users()->orderBy('username'),
'userfields' => $this->getUserfieldsService()->GetFields('users'),
'userfieldValues' => $this->getUserfieldsService()->GetAllValues('users')
]);
}
}