Files
glb_adm 01acfa3b40
Type checking / changes (push) Has been cancelled
Type checking / test (push) Has been cancelled
Type checking / typescript-summary (push) Has been cancelled
Node tests / changes (push) Has been cancelled
Node tests / test (push) Has been cancelled
Node tests / test-summary (push) Has been cancelled
UPSTREAM BASELINE: nextcloud/spreed v22.0.12 (без изменений)
Источник: https://github.com/nextcloud/spreed/archive/refs/tags/v22.0.12.tar.gz
С этого коммита ветка официального Nextcloud Talk отрезана (решение владельца 2026-07-06).
Все дальнейшие изменения — только наши; версии релизов: 22.0.12-f7.N.
2026-07-06 14:07:50 +00:00

36 lines
1.3 KiB
Gherkin

Feature: conversation/limit-creation
Background:
Given user "participant1" exists
Given user "participant2" exists
Given user "participant3" exists
Given group "group1" exists
Scenario: User can not create group conversations
Given the following "spreed" app config is set
| start_conversations | ["group1"] |
Then user "participant1" creates room "room" with 403 (v4)
| roomType | 2 |
| roomName | room |
Given user "participant1" is member of group "group1"
Then user "participant1" creates room "room" with 201 (v4)
| roomType | 2 |
| roomName | room |
Scenario: User can not create public conversations
Given the following "spreed" app config is set
| start_conversations | ["group1"] |
Then user "participant1" creates room "room" with 403 (v4)
| roomType | 3 |
| roomName | room |
Given user "participant1" is member of group "group1"
Then user "participant1" creates room "room" with 201 (v4)
| roomType | 3 |
| roomName | room |
Scenario: User can still do one-to-one conversations
Given the following "spreed" app config is set
| start_conversations | ["group1"] |
Then user "participant1" creates room "room" with 201 (v4)
| roomType | 1 |
| invite | participant2 |