-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share calendar to users or groups with "show only as busy". #11214
Comments
GitMate.io thinks possibly related issues are #8698 (need a group or folder for all user), #7340 (Show circle name in details of a shared file (group user)), #866 (Calendar Share Functionality missing), #10347 (Make shares visible to other users), and #3801 (Adding appointment into shared calendar fails). |
cc @georgehrke |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ideally it'd be possible to do this for calendar links as well. (And to be able to generate links for both full access and free/busy simultaneously.) Google Calendar for example only lets you do one or the other at any given time. |
@stefanoco @georgehrke |
This would be really important to avoid accidentally publishing event details to a shared calendar. Right now, events seem to default to "when shared, show full event". This may accidentally expose private information when creating an event from a phone or app that doesn't expose the "when shared show" field. Is it possible to change the default value for "when shared show" field to "when shared, show only busy"? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
As a workaround, and within our organisation, I use the free-busy feature of caldav within Thunderbird: https://docs.nextcloud.com/server/latest/admin_manual/groupware/calendar.html#freebusy |
This sounds interesting, but I do not understand directly how that works. Could you please briefly give an idea of your setup? |
This comment has been minimized.
This comment has been minimized.
Did anyone figure out, how this works? Unfortunately is very little information online about this workaround… All I could find out so far is that this feature is probably used when creating a new appointment and then pressing the "Invite Attendees" button. |
This is it @trevor87 ! Nothing more to do |
OK, thanks I think I figured it out now. So for everyone who runs into this problem, the workaround is simply the following: If you use thunderbird and want to see whether your colleagues are available just doubleclick in the Thunderbird Calendar to create a new event and then in the next view click on "Invite Attendees". When you enter a mail address of someone who is also using your nextcloud instance, it will show when the other person has appointments. In my case for some reason it shows the other people's appointments as "no information", which I find rather confusing. Otherwise: Still trying to figure the rest out. Hope this helps! |
@trevor87 Thanks. That is about what Outlook does. My issue with this approach is that I don't only need my employees using NC and TB to be able to see when they may invite me, but also my customers. Therefore I'd like two things to be available: a NC web interface "free only" view for those who have an account on my server, and a publicly sharable calendar (similar to what Google Calendar provides). But maybe this is not the right place to ask for the latter. |
I also would like to stress what @nursoda mentioned recently: I also need it to be able to publish a calendar externally, but I want all the time slots to simply say "busy" so that I can share my calendar anywhere with clients without revealing what I'm doing If there is any work already going on, I'm happy to contribute, but this ticket doesn't mention a branch or any work in progress. Let me know... would be happy to participate |
@qq7te we'll soon look into nextcloud/calendar#1023. This might be necessary for that but maybe it's not. I'll let you know if we have to work on this specific ticket. |
Well, "appointments" were implemented, but nothing to help "share/show busy only". I try to sum up my understanding of this issue and my needs in more detail: We need a new? endpoint that returns only pruned events matching restrictions which a user should be able to set. Such filters might be
The OP's request was to be able to share such restricted view within the nextcloud instance. I second that. This probably would be a checkbox "show only as busy" in the calendar's prefs. Since such restricted calendar view should be available to other clients such as Thunderbird, too, just a restricted view within the calendar app doesn't seem sufficient from a security perspective. My usecase is an enhancement to the OP's request: In the Calendar app, a user should be able to "Share free/busy link" (below "Share link"); an URL that renders a web view with buttons to switch view and move in time, but without e.g. the possibility to download that calendar, that renders the filtered/pruned events. For me, any web view would suffice. A further enhancement would be have a user setting that either renders a full-fledged view with top bar (cloud and/or calendar name, etc.) or just a minimal (embed-style) view. |
I was happy to see this OP request, as this is exactly what's missing to make Nexcloud the Google Calendar successor. For now, it is not possible to have a private Calendar shared with team-mates as "show only busy times". Is there any active development for this feature? Thanks everyone for contributing to Nextcloud! |
I just wonder if this would be better off at https://github.com/nextcloud/calendar ? |
There is nextcloud/calendar#1044 and nextcloud/calendar#725 which point to this issue |
Maybe a workaround could be found with the Calcleaner project : see my open issue here flozz/calcleaner#3 In short: automate a caldav tool (in python) to add "visibility settings" to created events (CLASS:CONFIDENTIAL). Thus a standard NC share of the calendar would show only date/time. |
I have similar issue ...we want to share calendar inside NC instance and we want that always the shared calendar show the events as 'Busy'.. i know that exist de free/busy option when you create and event...but sometimes is more easy that multiple users share the calendar to me and i can found a slot very fast in the 'calendar page'. I'm testing this stupid workaround that i make: Edit file apps/dav/lib/CalDAV/CalendarObject.php search get() function.. in this version i have something like this:
if you remove this if clause (keeping If someone knows if this is a very bad idea please tell me :D , I can't find any bugs or problems so far. |
Hi, |
For detail my previous comment (i've found it when searching again for this feature :) : That i can imagine a good way :
The "confidential trick" said before can't work for me (already tried) because if i add an event in a shared cal, only the cal owner can see it. I think that the current state of calendar sharing work well for a monolitic organization (one NC instance / one orga) but is complicated for one-by-one (inter-users or user-to-external-world) organization. Thanks a lot for all the work in all cases ! |
Yes, I'm agreed, that would be a nice and important('must have') feature. I want to add that the workaround above have a bug with recurrent events. i created an issue here: nextcloud/calendar#5555 |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as spam.
This comment was marked as spam.
To whom it may concern. We have a Nextcloud setup in use and a lot of different user clients including MS Outlook and Thunderbird (with CalDav). Finding free meeting slots was constantly hard to manage because of hidden "private" events of MS Outlook users. The behaviour is described a lot in different issues here on github. With the hint of @section1 (thanks alot here) we managed to extend his solution to show all events as "Busy"-timeslot. So this includes "confidential" and "private" types. Here is the solution: In
To get this working we had to drop the filters for private event in We changed the behaviour in the following functions.
Simply by commenting out the
So the filtering is done in the If you interested in this. You can test this in your live system directly without any restart. As a result nextcloud will show every event in the Nextcloud calendar. It works even with the sync by Thunderbird and Outlook (CalDav) showing "Busy" slots (maybe a solution for the workflow of @wargreen . This does the trick for us and we are really happy with the solution. For your decission to patch, please mention that this is a workaorround only and it may leak out data like e.g. described in nextcloud/calendar#5555 If anyone can help me to make an option in the admin setting (or even calendar wise) i am interested to make a Pull-request to have a general opt-in solution for all nextcloud users. |
@mdrobisch thank you for your input, this was not the intention of the ticket. We want to modify the sharing options in a way, so that the sharing user can decide to hide all events, no matter, what kind and just provide the busy information. Modifying each and every event can cause quite a huge security risk. |
Sure thing. Maybe nextcloud/calendar#4782 fits better, or even one of the other issues. They imho describe all some different aspects of the same topic. So for me it is hard to figure out where my findings fits best. Hopefully my workarround here can help people that also want a more "MS Outlook/Exchange" like behaviour of showing/hiding private events. UPDATE: This might be especially interesting for people using nextcloud as a company/enterprise solution. If i can help please let me know. |
Please let me put one addition here to clear things out. My approach do not alter events. It is just about change the filter to let "private" events to be shown as "busy" events in |
yes totally get that, but all non "private" events will be shown - right? |
and yes nextcloud/calendar#4782 seems to be the very same issue ... |
Yes, all events that are not "private" nor "confidential" are shown/shared as normal (with all informations). Thank you for the hint. You are right. This solution fits best with nextcloud/calendar#4782 not with this one here. |
Related: nextcloud/calendar#6247 |
Steps to reproduce
Expected behaviour
After the steps to reproduce the behavior I want to choose an option "show only as busy". So, that the selected user or group can see my complete calendar but without details. This option is missing.
I know that it is possible for a single event to "show only as busy". But what if I want to have this for a specific user or group for the complete calendar?
Actual behaviour
After the steps to reproduce the behavior there is only an option "can edit" for the chosen user or group.
Server configuration
Nextcloud version: 13.0.6
Nextcloud calendar version: 1.6.1
The text was updated successfully, but these errors were encountered: