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
+
@caldav-delegation
8
+
Scenario: admin grants user0 read access to her calendar account
9
+
Given user "admin" exists
10
+
And user "user0" exists
11
+
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/"
12
+
Then The CalDAV response should be multi status
13
+
And The CalDAV response should contain an href "/remote.php/dav/principals/users/admin/calendar-proxy-read"
14
+
And The CalDAV response should contain a property "{DAV:}group-member-set"
15
+
16
+
@caldav-delegation
17
+
Scenario: admin grants write access to her calendar account
18
+
Given user "admin" exists
19
+
And user "user0" exists
20
+
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/"
21
+
Then The CalDAV response should be multi status
22
+
And The CalDAV response should contain an href "/remote.php/dav/principals/users/admin/calendar-proxy-write"
23
+
And The CalDAV response should contain a property "{DAV:}group-member-set"
24
+
25
+
Scenario: Admin cannot grant User1 access to User0's calendar account
26
+
Given user "admin" exists
27
+
And user "user0" exists
28
+
And user "user1" exists
29
+
When "admin" updates property "{DAV:}group-member-set" to href "/remote.php/dav/principals/users/user1" of principal "users/user0/calendar-proxy-write" on the endpoint "/remote.php/dav/principals/"
0 commit comments