mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
It has quite nasty overwrites in place for appconfig and storages which break too often and can otherwise only be noticed by low privileged users Signed-off-by: Joas Schilling <coding@schilljs.com>
25 lines
880 B
Gherkin
25 lines
880 B
Gherkin
@Guests
|
|
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
Feature: guests app
|
|
Background:
|
|
Given using api version "1"
|
|
Given using old dav path
|
|
Given invoking occ with "app:enable --force guests"
|
|
Given the command was successful
|
|
And user "user-guest@example.com" is a guest account user
|
|
|
|
Scenario: Receive a share as a guests app user
|
|
And user "user-guest@example.com" should see following elements
|
|
| / |
|
|
Given user "user0" exists
|
|
And As an "user0"
|
|
When creating a share with
|
|
| path | welcome.txt |
|
|
| shareType | 0 |
|
|
| shareWith | user-guest@example.com |
|
|
Then the OCS status code should be "100"
|
|
And the HTTP status code should be "200"
|
|
And user "user-guest@example.com" should see following elements
|
|
| / |
|
|
| /welcome.txt |
|