Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-09-14 13:25:19 +0300
committerdartcafe <github@dartcafe.de>2021-09-14 13:25:19 +0300
commit98a05d7defebf332a98fe59f44cbfcca55bba3be (patch)
treeaa5a34eb59a0eb5bc5de107ac096c204caa20dea /appinfo
parentf19da29c57015ab18155dd615aaff9c6d032e107 (diff)
grant poll admin rights to invitee
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 45ab550a..dae456ac 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -88,6 +88,8 @@ return [
['name' => 'share#personal', 'url' => '/share/personal', 'verb' => 'POST'],
['name' => 'share#sendInvitation', 'url' => '/share/{token}/invite', 'verb' => 'POST'],
['name' => 'share#resolveGroup', 'url' => '/share/{token}/resolve', 'verb' => 'GET'],
+ ['name' => 'share#user_to_admin', 'url' => '/share/{token}/admin', 'verb' => 'PUT'],
+ ['name' => 'share#admin_to_user', 'url' => '/share/{token}/user', 'verb' => 'PUT'],
['name' => 'settings#getAppSettings', 'url' => '/settings/app', 'verb' => 'GET'],
['name' => 'settings#writeAppSettings', 'url' => '/settings/app', 'verb' => 'POST'],