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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-09-20 16:34:05 +0300
committerJoas Schilling <coding@schilljs.com>2021-10-07 19:18:29 +0300
commitd2967ce0cff9f0e0f5b5114de02e337ea0dcbe97 (patch)
tree134ae2044f80dec405ff7e735b2410015b200135 /appinfo
parent20d722901fb244166b4b78535e4058c1910c93b5 (diff)
Rename and extend constants and methods for the new permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index f54c01d5e..dfc8ebdb8 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -354,21 +354,23 @@ return [
],
],
[
- 'name' => 'Room#setAttendeePublishingPermissions',
- 'url' => '/api/{apiVersion}/room/{token}/attendees/publishing-permissions',
+ 'name' => 'Room#setAttendeePermissions',
+ 'url' => '/api/{apiVersion}/room/{token}/attendees/{permissions}',
'verb' => 'PUT',
'requirements' => [
'apiVersion' => 'v(4)',
'token' => '^[a-z0-9]{4,30}$',
+ 'permissions' => '^(publishing-permissions|permissions)$',
],
],
[
- 'name' => 'Room#setAllAttendeesPublishingPermissions',
- 'url' => '/api/{apiVersion}/room/{token}/attendees/publishing-permissions/all',
+ 'name' => 'Room#setAllAttendeesPermissions',
+ 'url' => '/api/{apiVersion}/room/{token}/attendees/{permissions}/all',
'verb' => 'PUT',
'requirements' => [
'apiVersion' => 'v(4)',
'token' => '^[a-z0-9]{4,30}$',
+ 'permissions' => '^(publishing-permissions|permissions)$',
],
],
[