Skip to content
Snippets Groups Projects
Commit 55a72379 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

Calendar: autostartneon configuration

parent c4349e43
No related branches found
No related tags found
No related merge requests found
......@@ -4,17 +4,6 @@ import("system.notification")
import("system.text");
import("system.util");
var users = ["Admin", "Birgit Leicht", "John Doe"]
calendars.addPermissions(users, calendars.VEVENT, ["READ", "WRITE"], null, false, calendars.SORTSTRATEGY_NATURAL);
var users = ["Admin", "Birgit Leicht", "Harold Smith", "Herbert Obermeier", "Lisa Sommer", "Susanne Lustig"];
calendars.setCalendarUser(users, calendars.RIGHT_READ | calendars.RIGHT_WRITE, false, calendars.SORTSTRATEGY_NATURAL);
calendars.setCheckAttendeesOnWrite(false);
//var user = tools.getCurrentUser();
//var notis = notification.getUserNotifications(user["name"], null);
//
//var noti = notis[0];
//logging.log("noti USERID: " + noti);
//logging.log("noti2 USERID: " + noti[notification.USERID.toSource()]);
//notification.updateUserNotificationState(noti[notification.USERID], noti[notification.CONTENTID], notification.STATE_ARCHIVE);
//
//notis = notification.getUserNotifications(user["name"], null);
//logging.log("notifications: " + notis[0][notification.STATE]);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment