mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
Add attribute isReadOnly to event/task JSON view
This commit is contained in:
1 parent
5e3b3e6987
commit
550fc09ee4
4 files changed
+92
-87
No files matched your search
@@ -402,6 +402,7 @@
|
||||
* @apiSuccess (Success 200) {String} completedTime Formatted completed time
|
||||
* @apiSuccess (Success 200) {String} status Status (needs-action, in-process, completed, or cancelled)
|
||||
* @apiSuccess (Success 200) {Number} percentComplete Percent completion
|
||||
* @apiSuccess (Success 200) {Number} isReadOnly 1 if task is read-only
|
||||
*
|
||||
* From [iCalEntityObject+SOGo attributes]
|
||||
*
|
||||
@@ -519,6 +520,7 @@
|
||||
[co nameInContainer], @"id",
|
||||
[thisFolder nameInContainer], @"pid",
|
||||
[thisFolder displayName], @"calendar",
|
||||
[NSNumber numberWithBool: [self isReadOnly]], @"isReadOnly",
|
||||
nil];
|
||||
|
||||
if (startDate)
|
||||
|
||||
Reference in new issue
Block a user