🩹(backend) fix scope typo addons settings

The external viewset expected a plural "rooms:x" scope instead of
the incorrect singular "room:x".

Update it to accept the proper scope and emit tokens accordingly.
This commit is contained in:
lebaudantoine
2026-04-29 16:30:49 +02:00
parent 6bb8084aa0
commit e5a804f748
2 changed files with 2 additions and 2 deletions
@@ -258,7 +258,7 @@ def test_poll_session_authenticated():
assert isinstance(access_token, str) and access_token # non-empty string
assert response_data == {
"expires_in": 7200,
"scope": "room:create",
"scope": "rooms:create",
"state": "authenticated",
"token_type": "Bearer",
}