diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-05 11:55:21 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-05 11:55:21 +0100 |
commit | bea85adc087648f170d898ea5f16079cde820d35 (patch) | |
tree | adc197f81ca06dbcdf79e20daf5c99a52cf7f77f /apps/provisioning_api/lib/Controller/GroupsController.php | |
parent | eeb81ec783e6e555aa8f1ac3eaa806b3c9dacaf7 (diff) | |
download | nextcloud-server-bea85adc087648f170d898ea5f16079cde820d35.tar.gz nextcloud-server-bea85adc087648f170d898ea5f16079cde820d35.zip |
Require sudo mode on the provisioning API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/provisioning_api/lib/Controller/GroupsController.php')
-rw-r--r-- | apps/provisioning_api/lib/Controller/GroupsController.php | 4 |
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 d36d0de8997..c772076c3d1 100644 --- a/apps/provisioning_api/lib/Controller/GroupsController.php +++ b/apps/provisioning_api/lib/Controller/GroupsController.php @@ -128,7 +128,7 @@ class GroupsController extends OCSController { /** * creates a new group * - * @NoAdminRequired + * @PasswordConfirmationRequired * * @param string $groupid * @return DataResponse @@ -149,6 +149,8 @@ class GroupsController extends OCSController { } /** + * @PasswordConfirmationRequired + * * @param string $groupId * @return DataResponse * @throws OCSException |