Skip to content

Commit 8929f9f

Browse files
committed
test(integration): add tests for calendar delegation
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
1 parent 89b06a4 commit 8929f9f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
Feature: calendar delegation
4+
Calendar delegation grants another user/principal control of a calendar account,
5+
including all calendars the delegator can access.
6+
7+
Scenario: admin grants user0 read access to her calendar account
8+
Given user "admin" exists
9+
And user "user0" exists
10+
When "admin" updates property "{DAV:}group-member-set" to href "/remote.php/dav/principals/users/user0" of principal "users/admin/calendar-proxy-read" on the endpoint "/remote.php/dav/principals/"
11+
Then The CalDAV response should be multi status
12+
13+
Scenario: admin grants write access to her calendar account
14+
Given user "admin" exists
15+
And user "user0" exists
16+
When "admin" updates property "{DAV:}group-member-set" to href "/remote.php/dav/principals/users/user0" of principal "users/admin/calendar-proxy-write" on the endpoint "/remote.php/dav/principals/"
17+
Then The CalDAV response should be multi status

0 commit comments

Comments
 (0)