]> source.dussan.org Git - nextcloud-server.git/commitdiff
Comment code path
authorLukas Reschke <lukas@owncloud.com>
Fri, 12 Dec 2014 15:45:11 +0000 (16:45 +0100)
committerLukas Reschke <lukas@owncloud.com>
Fri, 12 Dec 2014 15:45:11 +0000 (16:45 +0100)
settings/controller/userscontroller.php

index bd0c859b18c6e713aa36834f796561e30ce0426d..7f2449f2af615d09885be1d3f78f31c558dce14b 100644 (file)
@@ -141,6 +141,7 @@ class UsersController extends Controller {
                        }
 
                } else {
+                       // Set the $gid parameter to an empty value if the subadmin has no rights to access a specific group
                        if($gid !== '' && !in_array($gid, \OC_SubAdmin::getSubAdminsGroups($this->userSession->getUser()->getUID()))) {
                                $gid = '';
                        }