nextcloud / nextcloud/deck

link on activity to attached file is directing the user to a "forbidden" page

Open
#4,470 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: activity feature: attachments good first issue
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Describe the bug
The problem is that when a user receives a notification of a new attached file to a card on the activity app from nextcloud, and clicks on the link to the file, the user is redirect to a "forbidden"

To Reproduce
Steps to reproduce the behavior:

  1. Login as an user on your deck
  2. Create a card and attach a file
  3. check on a second user the notifications, or the activity app
  4. click on the link to see the attach

Expected behavior
I expect the file to open, it works when i open the card, check the attached files and open the file. (the link is different in notifications it says: /deck/cards/XXX/attachment/YYY and on the card itself on the attachments tab it redirect to: "/f/ZZZZ"

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:
nextcloud 25.0.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating a card with an attachment, opening the notification or activity link as a second user, and comparing it with the attachment-tab link. Start by tracing the notification URL /deck/cards/XXX/attachment/YYY against the working /f/ZZZZ URL. Done means the notification link opens the attached file instead of a forbidden page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.