diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-22 13:37:20 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-07 19:18:30 +0300 |
commit | 390ae657a18523bb0b39f6531fa27de9bb075410 (patch) | |
tree | 1782ae950637d44d033e3a3b6f112ff4b529a2e1 /appinfo | |
parent | a0e1168db04100c153133a5fcb0d1440a2e22644 (diff) |
Introduce different layers for permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index dfc8ebdb8..2ef993e5a 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -355,22 +355,20 @@ return [ ], [ 'name' => 'Room#setAttendeePermissions', - 'url' => '/api/{apiVersion}/room/{token}/attendees/{permissions}', + '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#setAllAttendeesPermissions', - 'url' => '/api/{apiVersion}/room/{token}/attendees/{permissions}/all', + 'url' => '/api/{apiVersion}/room/{token}/attendees/permissions/all', 'verb' => 'PUT', 'requirements' => [ 'apiVersion' => 'v(4)', 'token' => '^[a-z0-9]{4,30}$', - 'permissions' => '^(publishing-permissions|permissions)$', ], ], [ |