[Pkg-owncloud-commits] [php-sabredav] 86/275: Scheduling privileges.
David Prévot
taffit at moszumanska.debian.org
Thu Sep 25 14:55:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit af9d49ca4e0e48978b0146a0568c344725813340
Author: Evert Pot <me at evertpot.com>
Date: Sun Jul 6 22:17:17 2014 -0400
Scheduling privileges.
---
lib/CalDAV/Schedule/Inbox.php | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/lib/CalDAV/Schedule/Inbox.php b/lib/CalDAV/Schedule/Inbox.php
index 9c50cf4..aae383e 100644
--- a/lib/CalDAV/Schedule/Inbox.php
+++ b/lib/CalDAV/Schedule/Inbox.php
@@ -10,7 +10,7 @@ use
Sabre\VObject;
/**
- * The CalDAV scheduling inbox
+ * The CalDAV scheduling inbox
*
* @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
@@ -192,7 +192,17 @@ class Inbox extends DAV\Collection implements IInbox {
*/
public function getSupportedPrivilegeSet() {
- return null;
+ $ns = '{' . CalDAV\Plugin::NS_CALDAV . '}';
+
+ $default = DAVACL\Plugin::getDefaultSupportedPrivilegeSet();
+ $default['aggregates'][] = [
+ 'privilege' => $ns . 'schedule-deliver',
+ 'aggregates' => [
+ ['privilege' => $ns . 'schedule-deliver-invite'],
+ ['privilege' => $ns . 'schedule-deliver-reply'],
+ ],
+ ];
+ return $default;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list