Enrique J. Hernández Blasco
12e952eb55
oc: Honor calendar WebMail UI permissions on OpenChange library
...
By expanding roles from the given ACL to have these values as flags
inside the OpenChange library. This only applies to Calendar and
Tasks folders which stored four different access rights to three
different types of events/tasks.
As the events and tasks are stored in the same table, I have added
two new classes to manage permissions in the same way and this
avoids the code duplication called MAPIStoreCalTask(Folder|Message).
2016-02-23 10:10:48 +01:00
Enrique J. Hernández Blasco
dd32c659f6
oc-calendar: Add edit/delete own and Folder Contact/Owner sharing perm
...
By storing these custom MAPI roles in the ACL.
The extension field 'X-SOGO-COMPONENT-CREATED-BY' is used to store the
event creator when it is done from Outlook. It is the same field SOGo
uses when an event is created from a shared folder in the webmail.
The creator and the organizer/owner of the event can be different and it can
be used from external sources by checking the organizer field. This matches
the specification from [MS-OXOCAL] Section 1.1 which defines the organizer
as the owner or creator of the event.
2016-02-16 14:55:21 +01:00
Enrique J. Hernández Blasco
e08ee9a265
oc: Use enum mapistore_error instead of int
...
This specifies a little the scope of the variable to make it
more realistic with the actual values it may have. We do have
a static typed compiled language, why don't we use it?
2016-02-15 15:44:14 +01:00
Juan Vallés
376e717f45
oc-calendar: Use the calendar's time zone if it is present
...
If the event was created by the MAPI client, the client's time zone (if
present) is assigned to the event's calendar in iCalEvent+MAPIStore.
This way, we can use it to deliver the event's properties correctly.
2015-12-23 17:27:10 +01:00
Wolfgang Sourdeau
bde4b22ba7
Monotone-Parent: 572391072fa416635b9921d39ed76478ed762097
...
Monotone-Revision: 105b571703ff5c4cc1024854ef8a1d987aef2bf1
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-17T19:04:57
Monotone-Branch: ca.inverse.sogo
2012-08-17 19:04:57 +00:00
Wolfgang Sourdeau
df6f1e3023
Monotone-Parent: e14333177a9e3223d083bb94a4a7a18746ee7e12
...
Monotone-Revision: 35e905507b00aa93112b244da8c4f4c32c7942c7
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-06T19:19:41
Monotone-Branch: ca.inverse.sogo
2012-08-06 19:19:41 +00:00
Wolfgang Sourdeau
7bb437021a
Monotone-Parent: d6049f3e55fa0ac4385db63c3777aa1d84d5511c
...
Monotone-Revision: 3fdbf80f4c1de08138ff9435f54fd9f663ef5b8f
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-20T14:13:56
Monotone-Branch: ca.inverse.sogo
2012-07-20 14:13:56 +00:00
Wolfgang Sourdeau
0b2f4e5c44
Monotone-Parent: b65572c3789024ccb44bac952fa19cc6708071a0
...
Monotone-Revision: fc87b2e35370aef34db8f91a54bc71a27c2ea297
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-19T20:26:33
Monotone-Branch: ca.inverse.sogo
2012-07-19 20:26:33 +00:00
Wolfgang Sourdeau
a4b083eb1e
Monotone-Parent: cb7b77723f765942d950c5620150b720f5d0c5b1
...
Monotone-Revision: 1900d82b81c570a73d4db548a566ed09b57ee43a
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-30T19:51:37
Monotone-Branch: ca.inverse.sogo
2012-03-30 19:51:37 +00:00
Wolfgang Sourdeau
96c6581dfe
Monotone-Parent: cbef49b9665bb4860d576825ae411fd212ee0d08
...
Monotone-Revision: c80a840b806ab1a13914a35d5bde6a6668427240
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-20T18:50:09
Monotone-Branch: ca.inverse.sogo
2012-03-20 18:50:09 +00:00
Wolfgang Sourdeau
c4292714b5
Monotone-Parent: 1e532558ba17916d33138e4c65d283faf4d0e929
...
Monotone-Revision: 3d21b0780b7affb529a020d89dcbf84325264c7d
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-02T20:44:24
Monotone-Branch: ca.inverse.sogo
2012-03-02 20:44:24 +00:00
Wolfgang Sourdeau
6f13029d21
Monotone-Parent: e38c570559610854b85c2c517053417779a76964
...
Monotone-Revision: 419d3afdcfcc1cddf8eef1f0311d418b03b0d1a0
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-17T16:15:38
Monotone-Branch: ca.inverse.sogo
2011-11-17 16:15:38 +00:00
Wolfgang Sourdeau
5be374313f
Monotone-Parent: 2448001ef69730541ee1c822cf80c131176b1ed0
...
Monotone-Revision: e5a4a8243c282c12538ab38c9b5c23722be35e99
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-09T20:47:08
Monotone-Branch: ca.inverse.sogo
2011-11-09 20:47:08 +00:00
Wolfgang Sourdeau
600c8ddb7e
Monotone-Parent: 0e24f707625b8e960d18430aa904f3ec40c5dd2a
...
Monotone-Revision: d75ed56bb85ad0c1c37621595267a590aa9b60db
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-12T20:00:46
Monotone-Branch: ca.inverse.sogo
2011-10-12 20:00:46 +00:00
Wolfgang Sourdeau
b23add1e0e
Monotone-Parent: 2fd9ca48151cb890633db65a0c6b7a4066ce2ff0
...
Monotone-Revision: 695f603b17d7e3b7f6e1bdfc01f835786341dab6
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-11T23:38:37
Monotone-Branch: ca.inverse.sogo
2011-10-11 23:38:37 +00:00
Wolfgang Sourdeau
8c929bc16b
Monotone-Parent: ec16bdb7ba63858784457e5200d914d15be4c55e
...
Monotone-Revision: bae3f2d15f56ace2300155adab60e9293a29ea32
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-11T19:46:02
Monotone-Branch: ca.inverse.sogo
2011-10-11 19:46:02 +00:00
Wolfgang Sourdeau
132987d8bc
Monotone-Parent: cb5283601b9539bb382aa64a739bf758b9e2ac7f
...
Monotone-Revision: e064a5558d641325b03001de47cede6db61eed32
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-03T20:55:02
Monotone-Branch: ca.inverse.sogo
2011-10-03 20:55:02 +00:00
Wolfgang Sourdeau
01e387b7b9
Monotone-Parent: a9886e6c9acfb5c097b185a254e620a6a0094f1f
...
Monotone-Revision: 9109f0600492701322f24fb53d86a39821e26dc4
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-30T20:01:50
Monotone-Branch: ca.inverse.sogo
2011-09-30 20:01:50 +00:00
Wolfgang Sourdeau
8b8f079992
Monotone-Parent: e81a19428dc35c851d16d525d7d41f645b87aa93
...
Monotone-Revision: 5bdd362f0346da09b105a6a7054e67410a0dcee5
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-08T19:01:24
Monotone-Branch: ca.inverse.sogo
2011-08-08 19:01:24 +00:00
Wolfgang Sourdeau
017ebb901c
Monotone-Parent: 79e96bad18e27c8d142f04fe18be100bc2a7e975
...
Monotone-Revision: d63c864a1b3540c00d2825cbeb4a8cdb0a698ea6
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-05T23:38:18
Monotone-Branch: ca.inverse.sogo
2011-08-05 23:38:18 +00:00
Wolfgang Sourdeau
227236b8a4
Monotone-Parent: 6573eb6d5779706b5935161822c561cf325f7fa6
...
Monotone-Revision: 94cfc3ae6042eeef31f71ab67697fd9614b333dd
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-21T15:05:17
Monotone-Branch: ca.inverse.sogo
2011-07-21 15:05:17 +00:00