aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web/misc/baikal-flat-0.2.7.diff
blob: 8eba7bf5837e6f771d6616c32ad791d55304447d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff -rc baikal-flat/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php baikal-flat-0.2.7.new/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php
*** baikal-flat/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php	2013-10-02 20:38:26.000000000 +0200
--- baikal-flat-0.2.7.new/vendor/sabre/dav/lib/Sabre/DAVACL/PrincipalBackend/PDO.php	2014-02-16 16:25:15.873574244 +0100
***************
*** 70,75 ****
--- 70,80 ----
          '{http://sabredav.org/ns}email-address' => array(
              'dbField' => 'email',
          ),
+ 
+         /* necessary to access with PROPFIND caldavzap settings (Zellner, 2014-02-14) */
+         '{http://inf-it.com/ns/dav/}settings' => array(
+             'dbField' => 'inf_it_settings',
+         ),
      );
  
      /**
diff -rc baikal-flat/vendor/sabre/dav/lib/Sabre/DAVACL/Principal.php baikal-flat-0.2.7.new/vendor/sabre/dav/lib/Sabre/DAVACL/Principal.php
*** baikal-flat/vendor/sabre/dav/lib/Sabre/DAVACL/Principal.php	2013-10-02 20:38:26.000000000 +0200
--- baikal-flat-0.2.7.new/vendor/sabre/dav/lib/Sabre/DAVACL/Principal.php	2014-02-16 16:26:05.393981448 +0100
***************
*** 242,247 ****
--- 242,253 ----
                  'principal' => $this->getPrincipalUrl(),
                  'protected' => true,
              ),
+             /* give write permissions to principal properties (Zellner, 2014-02-14) */
+             array(
+                 'privilege' => '{DAV:}write',
+                 'principal' => $this->getPrincipalUrl(),
+                 'protected' => true,
+             ),
          );
  
      }
bgstack15