diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-12 22:17:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 22:17:47 +0200 |
commit | 00db9ec05c4f745ede8fdbc9a22a88f08b4584c6 (patch) | |
tree | 784d9ea881a9bbd9cdaef0f2146ee2b0524f48d5 | |
parent | 73ba8d4e15bb8eba8eebcdabbe892912bf34e930 (diff) | |
parent | da38f4a49763359d63f33ce958a12691a23eaa8f (diff) | |
download | nextcloud-server-00db9ec05c4f745ede8fdbc9a22a88f08b4584c6.tar.gz nextcloud-server-00db9ec05c4f745ede8fdbc9a22a88f08b4584c6.zip |
Merge pull request #9842 from nextcloud/backport/9814/stable12
[stable12] Make the DELETION of groups match greedy on the groupID
-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 81b3db2c1be..49861759db6 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -38,7 +38,7 @@ return [ ['root' => '/cloud', 'name' => 'Groups#getGroups', 'url' => '/groups', 'verb' => 'GET'], ['root' => '/cloud', 'name' => 'Groups#getGroup', 'url' => '/groups/{groupId}', '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 |