summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-11 09:42:12 +0200
committerGitHub <noreply@github.com>2018-06-11 09:42:12 +0200
commitcc78e17d5f50d734c3db71ff13589bd7ff4376bc (patch)
treeda48c231b1701f8a4a8fd39309fe69e67768a3be /apps
parent142505ecb23c1d0864e0a479f1bdd59a8ec75324 (diff)
parent228d1cfbd731b5452ca0d35f833e39a488224add (diff)
downloadnextcloud-server-cc78e17d5f50d734c3db71ff13589bd7ff4376bc.tar.gz
nextcloud-server-cc78e17d5f50d734c3db71ff13589bd7ff4376bc.zip
Merge pull request #9814 from nextcloud/bugfix/6032/delete_group_with_slash
Make the DELETION of groups match greedy on the groupID
Diffstat (limited to 'apps')
-rw-r--r--apps/provisioning_api/appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php
index 5d1d2a6d501..8624eb2536a 100644
--- a/apps/provisioning_api/appinfo/routes.php
+++ b/apps/provisioning_api/appinfo/routes.php
@@ -39,7 +39,7 @@ return [
['root' => '/cloud', 'name' => 'Groups#getGroupUsers', 'url' => '/groups/{groupId}/users', 'verb' => 'GET'],
['root' => '/cloud', 'name' => 'Groups#getGroupUsersDetails', 'url' => '/groups/{groupId}/users/details', 'verb' => 'GET'],
['root' => '/cloud', 'name' => 'Groups#addGroup', 'url' => '/groups', 'verb' => 'POST'],
- ['root' => '/cloud', 'name' => 'Groups#deleteGroup', 'url' => '/groups/{groupId}', 'verb' => 'DELETE'],
+ ['root' => '/cloud', 'name' => 'Groups#deleteGroup', 'url' => '/groups/{groupId}', 'verb' => 'DELETE', 'requirements' => ['groupId' => '.+']],
['root' => '/cloud', 'name' => 'Groups#getSubAdminsOfGroup', 'url' => '/groups/{groupId}/subadmins', 'verb' => 'GET'],
// Users