summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-19 21:51:59 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-19 23:20:33 +0200
commita53dbb8c0b6c044b17604dfdd86b9ad951381c66 (patch)
treeef2e23bf0203ab737e11fb8315981605c6cbc31b /apps/provisioning_api/lib
parent8a1cbbd90e73b44f1884b4a65fe4c55d40d377e9 (diff)
downloadnextcloud-server-a53dbb8c0b6c044b17604dfdd86b9ad951381c66.tar.gz
nextcloud-server-a53dbb8c0b6c044b17604dfdd86b9ad951381c66.zip
New user support, provisionning api and design fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r--apps/provisioning_api/lib/Controller/GroupsController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php
index 765a7ea48e8..d30d0077cdc 100644
--- a/apps/provisioning_api/lib/Controller/GroupsController.php
+++ b/apps/provisioning_api/lib/Controller/GroupsController.php
@@ -115,7 +115,9 @@ class GroupsController extends AUserData {
'id' => $group->getGID(),
'displayname' => $group->getDisplayName(),
'usercount' => $group->count(),
- 'disabled' => $group->countDisabled()
+ 'disabled' => $group->countDisabled(),
+ 'canAdd' => $group->canAddUser(),
+ 'canRemove' => $group->canRemoveUser(),
];
}, $groups);