Is there a way to create defaults calendars for all users? I would like to create a personal/private calendar (this seem already done by default) and also a shared calendar. The shared calendar should be shared to all members of a specific group by default.
Well, it seem like an impossible thing to do? Sad
Yes, with the
occ-command. See here: Using the occ command — Nextcloud latest Administration Manual latest documentation
This is also possible either with a CALDAV request (password of the user sharing the calendar is needed) or by adding the according share directly to the table
dav_shares of the database (this way the users password is not needed).