diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-15 18:22:19 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-16 09:50:25 +0200 |
commit | e23e28b3cc311c9820462b38c6a7958027540dd7 (patch) | |
tree | 7e1022ca576dcfc7b9969858c45f6bfca55dd36b /settings/Controller | |
parent | bcffbab6f8afb29c9e5c8ef9861739febdb06a09 (diff) | |
download | nextcloud-server-e23e28b3cc311c9820462b38c6a7958027540dd7.tar.gz nextcloud-server-e23e28b3cc311c9820462b38c6a7958027540dd7.zip |
Various fixes
* Fixed subadmin group management
* Fixed pass policy prop retrieving
* Fixed fields subadmins were not supposed to see
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/UsersController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php index 817167837be..dfc04a3397f 100644 --- a/settings/Controller/UsersController.php +++ b/settings/Controller/UsersController.php @@ -241,6 +241,7 @@ class UsersController extends Controller { $serverData['groups'] = array_merge_recursive($adminGroup, [$disabledUsersGroup], $groups); $serverData['subadmingroups'] = $groups; // Various data + $serverData['isAdmin'] = $this->isAdmin; $serverData['subadmins'] = $subAdmins; $serverData['sortGroups'] = $sortGroupsBy; $serverData['quotaPreset'] = $quotaPreset; |