diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-11 09:42:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 09:42:12 +0200 |
commit | cc78e17d5f50d734c3db71ff13589bd7ff4376bc (patch) | |
tree | da48c231b1701f8a4a8fd39309fe69e67768a3be /apps | |
parent | 142505ecb23c1d0864e0a479f1bdd59a8ec75324 (diff) | |
parent | 228d1cfbd731b5452ca0d35f833e39a488224add (diff) | |
download | nextcloud-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.php | 2 |
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 |