UPSTREAM BASELINE: nextcloud/spreed v22.0.12 (без изменений)
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
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
Источник: https://github.com/nextcloud/spreed/archive/refs/tags/v22.0.12.tar.gz С этого коммита ветка официального Nextcloud Talk отрезана (решение владельца 2026-07-06). Все дальнейшие изменения — только наши; версии релизов: 22.0.12-f7.N.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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 |
|
||||
Reference in New Issue
Block a user