diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2018-05-25 15:54:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 15:54:47 +0200 |
commit | 760b28ba4c7d4a9b6126aa4063238c2959eb263e (patch) | |
tree | 3671b2c23d7a9316a3b66e0e23d7062a65a30464 /apps/provisioning_api/lib/Controller/UsersController.php | |
parent | d4a0af7e5ec0d0e97dda2d826574779dab82260c (diff) | |
parent | 4644841ba67e1e1f606011b51148303f59be3960 (diff) | |
download | nextcloud-server-760b28ba4c7d4a9b6126aa4063238c2959eb263e.tar.gz nextcloud-server-760b28ba4c7d4a9b6126aa4063238c2959eb263e.zip |
Merge pull request #9488 from nextcloud/disabled-users-fix
Added disabled count per groups & fixed disabled users query
Diffstat (limited to 'apps/provisioning_api/lib/Controller/UsersController.php')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 21f5382d010..38d0e08ff8b 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -180,6 +180,10 @@ class UsersController extends AUserData { // Do not insert empty entry if (!empty($userData)) { $usersDetails[$userId] = $userData; + } else { + // Logged user does not have permissions to see this user + // only showing its id + $usersDetails[$userId] = ['id' => $userId]; } } |