You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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
+
And The CalDAV response should contain an href "/remote.php/dav/principals/users/admin/calendar-proxy-read"
13
+
And The CalDAV response should contain a property "{DAV:}group-member-set"
14
+
15
+
Scenario: admin grants write access to her calendar account
16
+
Given user "admin" exists
17
+
And user "user0" exists
18
+
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/"
19
+
Then The CalDAV response should be multi status
20
+
And The CalDAV response should contain an href "/remote.php/dav/principals/users/admin/calendar-proxy-write"
21
+
And The CalDAV response should contain a property "{DAV:}group-member-set"
0 commit comments