Calendar attachment can only opened with login / should be possible without login

When I attach a file uploaded to nextcloud to an event in the calendar only users with login-data can view the attachment after logging in.

How do I find out that I can access the attachment as well as the calendar itself without login?

Ist it a bug and will be fixed? Or have I done something wrong?
Shouldn’t it be possible, to open an calendar attachment without logging in?

I just tested this and it seems to be broken. The attachment is shared but the link inside the ICS is not replaced with the actual share link. Instead, the internal link remains, which is only accessible by logged in and permitted users.

Thank you very much, but what does that mean exactly? Is there a way to fix the problem?

Still no solution for this bug?
Does this fact bother anyone else?
Why can’t this problem be solved?

I tested this again and attachments are only shared via a public link if you either invite

  1. an external person to the event (via an email address) or
  2. a user from your Nextcloud server to the event.

You will be prompted with a modal to confirm that you are in the process of sharing your file/attachment with someone else in both cases.

Otherwise, the attachment will be added with an internal link (/f/…) instead of a share link (/s/…) to prevent data leakage.

2 Likes

Thanks for the test.
However, I would like to provide a public calendar in which PDF attachments can also be published for events.
The visitors to this calendar are not Nextcloud members and I don’t know their email addresses, so I can’t invite them.

Isn’t there a way to use these attachments publicly?

Now I see the problem. Your use case is not implemented right now.

It sounds like an interesting feature request. You could open a new feature request ticket over on our GitHub repository so that it can be considered by our developers: Sign in to GitHub · GitHub

For the time being, you could create a public link for your pdf in the files app and add the link to the public event’s description.

1 Like